Skip to content

Commit

Permalink
Add exit debug loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Sep 26, 2022
1 parent ccc1876 commit b5bcc0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/maggma/cli/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ def manager(

# If everything is distributed, send EXIT to the worker
if all(chunk["distributed"] for chunk in chunk_dicts):
logger.debug(
f"Sending exit signal to worker: {msg.split('_')[1]}"
)
socket.send_multipart([identity, b"", b"EXIT"])

elif "ERROR" in msg:
Expand Down

0 comments on commit b5bcc0e

Please sign in to comment.