Skip to content

Commit

Permalink
Don't kill the executor on timeout. Fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerPark committed Oct 1, 2018
1 parent 99d916f commit 2ad58ca
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ private Object execute(String key, Method doitMethod) throws TimeoutException, E
else
throw new UserException(String.valueOf(cause.getMessage()), String.valueOf(cause.getClass().getName()), cause.getStackTrace());
} catch (TimeoutException e) {
this.stop();
throw new UserException(
String.format("Execution timed out after configured timeout of %d %s.", this.timeoutTime, this.timeoutUnit.toString().toLowerCase()),
EXECUTION_TIMEOUT_NAME,
Expand Down

0 comments on commit 2ad58ca

Please sign in to comment.