Kill Client mid-task, but only after a report, via openbench.exit
This commit is contained in:
1 parent
7cc016817c
commit
a8e977da57
1 file changed
+2
-2
+2
-2
@@ -963,8 +963,8 @@ def run_and_parse_cutechess(arguments, workload, concurrency, command, cutechess
|
||||
stats = wld + [crashes, timelosses]
|
||||
status = server_report_results(arguments, workload, stats)
|
||||
|
||||
# Check for the task being aborted
|
||||
if status.upper() == 'STOP':
|
||||
# Check for the task being aborted, or Client being killed
|
||||
if status.upper() == 'STOP' or os.path.isfile('openbench.exit'):
|
||||
kill_cutechess(cutechess)
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user