forked from kenzuya/unshackle
perf(api)!: cut per-request and per-tick event bus traffic
Session update events carry the new action as action_entry instead of the full log; access lines stay out of the log ring unless --debug. Job events build and redact their dict once, the progress interval matches the 0.5 s poll, and dashboard stats are serialized once.
This commit is contained in:
@@ -140,9 +140,7 @@ def main(argv: list[str]) -> int:
|
||||
try:
|
||||
with progress_lock:
|
||||
progress_state.update(progress_data)
|
||||
log.info(f"Writing progress update: {progress_data}")
|
||||
write_result(progress_path, progress_state)
|
||||
log.info(f"Progress update written to {progress_path}")
|
||||
except Exception as e:
|
||||
log.error(f"Failed to write progress update: {e}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user