mirror of
https://github.com/Brandon-Rozek/matmod.git
synced 2025-07-31 21:01:59 +00:00
Stopped bug triggered during timeout
This commit is contained in:
parent
cd084812cc
commit
6639344280
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ def multi_process_runner(num_cpu: int, data_file_path: str, skip_to: Optional[st
|
||||||
for _ in range(num_workers):
|
for _ in range(num_workers):
|
||||||
task_queue.put(None)
|
task_queue.put(None)
|
||||||
|
|
||||||
|
# Don't do anymore work, wait again for a result
|
||||||
|
continue
|
||||||
|
|
||||||
|
|
||||||
# When we receive None, it means a child process has finished
|
# When we receive None, it means a child process has finished
|
||||||
if result is None:
|
if result is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue