Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansk committed Jun 7, 2024
1 parent 4b72462 commit d394e22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pygradflow/runners/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ def try_solve_instance(instance, params, log_filename, verbose):
process.join(timeout=(params.time_limit + 10.))

if process.is_alive():
logger.error("Reached timeout, aborting")
logger.error("Reached timeout, terminating process for %s", instance.name)
process.terminate()
logger.error("Terminated process for %s", instance.name)
return (instance, "timeout")
else:
return queue.get()
Expand Down

0 comments on commit d394e22

Please sign in to comment.