Skip to content
Permalink
Browse files

Fix interrupt handling.

  • Loading branch information
pferraro committed Apr 15, 2019
1 parent c8693b3 commit 87ce2470e0058451f4a318af16c6e54b5fbec499
@@ -84,7 +84,8 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IO
int duration = Integer.valueOf(req.getParameter(REQUEST_DURATION_PARAM));
try {
Thread.sleep(duration);
} catch (InterruptedException ex) {
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}

0 comments on commit 87ce247

Please sign in to comment.
You can’t perform that action at this time.