mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-31 04:40:20 +08:00
worker: Wait until datasets are written before quitting
Avoids a race condition in worker_impl.py where HDF5 dataset saving was cut off before it finished for large datasets.
This commit is contained in:
parent
cfc396cbc8
commit
76e93dc591
@ -307,9 +307,9 @@ def main():
|
||||
elif action == "analyze":
|
||||
try:
|
||||
exp_inst.analyze()
|
||||
put_completed()
|
||||
finally:
|
||||
write_results()
|
||||
put_completed()
|
||||
elif action == "examine":
|
||||
examine(ExamineDeviceMgr, ExamineDatasetMgr, obj["file"])
|
||||
put_completed()
|
||||
|
Loading…
Reference in New Issue
Block a user