Wait longer before invalidating the session.
We could debate the exact timeout here, but for any command that can cause a page load, it definitely needs to be at least as long as the session's page load timeout.
@@ -203,7 +203,7 @@ private void handle(HttpServletRequest req, HttpServletResponse resp) {
});
try {
- execution.get(1, MINUTES);
+ execution.get(10, MINUTES);
} catch (ExecutionException e) {
resp.reset();
new ExceptionHandler(e).execute(
