Skip to content

Commit

Permalink
fixes 4
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Oct 17, 2024
1 parent 3fde871 commit 8f2e46f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/data/client2.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ def job_producer(job_gen):

# Notify consumers that a new job is available
weight_lock.notify_all()
print("AAAAAAAAAAAAA")

with weight_lock:
weight_lock.wait()
weight_lock.notify_all()

# Consumer function: Processes blocks from the queue
Expand Down

0 comments on commit 8f2e46f

Please sign in to comment.