Fix openbench.exit for signaling workers
This commit is contained in:
1 parent
7d4be81da2
commit
29e042504d
1 file changed
+1
-2
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user