Fix openbench.exit for signaling workers

This commit is contained in:
andrew committed 2023-12-04 09:32:38 -05:00
1 parent 7d4be81da2
commit 29e042504d
1 file changed
+1 -2
+1 -2
View File
@@ -1407,7 +1407,7 @@ def run_openbench_worker(args):
# Check for exit signal via openbench.exit
if os.path.isfile('openbench.exit'):
print('Exited via openbench.exit')
break
sys.exit()
except BadVersionException:
raise BadVersionException()
@@ -1415,4 +1415,3 @@ def run_openbench_worker(args):
except Exception:
traceback.print_exc()
time.sleep(TIMEOUT_ERROR)