Skip to content

Commit

Permalink
tester: log qsize() in the worker
Browse files Browse the repository at this point in the history
Log workers backlog size for the benefit of the status page.

Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Nov 29, 2023
1 parent 668ee60 commit 060d70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def run(self) -> None:
self.done_queue.put(s)

# If we're the last worker with work to do - let the poller run
core.log(f"Checking barrier {self.barrier.n_waiting}/{self.barrier.parties} ")
core.log(f"Checking barrier {self.barrier.n_waiting}/{self.barrier.parties} {self.queue.qsize()}")
if self.barrier.parties == self.barrier.n_waiting + 1:
break

Expand Down

0 comments on commit 060d70a

Please sign in to comment.