Permalink
Browse files
Fix interrupt handling.
- Loading branch information
|
|
@@ -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(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.