Skip to content

Commit

Permalink
athena: upload logs in parallel (#34509)
Browse files Browse the repository at this point in the history
Co-authored-by: Comma Device <[email protected]>
  • Loading branch information
adeebshihadeh and Comma Device authored Jan 31, 2025
1 parent bfb898e commit a5dd2ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/athena/athenad.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ def handle_long_poll(ws: WebSocket, exit_event: threading.Event | None) -> None:
threading.Thread(target=ws_recv, args=(ws, end_event), name='ws_recv'),
threading.Thread(target=ws_send, args=(ws, end_event), name='ws_send'),
threading.Thread(target=upload_handler, args=(end_event,), name='upload_handler'),
threading.Thread(target=upload_handler, args=(end_event,), name='upload_handler2'),
threading.Thread(target=upload_handler, args=(end_event,), name='upload_handler3'),
threading.Thread(target=upload_handler, args=(end_event,), name='upload_handler4'),
threading.Thread(target=log_handler, args=(end_event,), name='log_handler'),
threading.Thread(target=stat_handler, args=(end_event,), name='stat_handler'),
] + [
Expand Down

0 comments on commit a5dd2ab

Please sign in to comment.