From 026a7934c63a16ae837908a8373debb0556265e7 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Mon, 14 Sep 2015 16:13:13 +0200 Subject: [PATCH] Increase to 60s before the session ends (be less optimistic) --- themes/grav/js/admin-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/js/admin-all.js b/themes/grav/js/admin-all.js index 670246c8..91b2be05 100644 --- a/themes/grav/js/admin-all.js +++ b/themes/grav/js/admin-all.js @@ -521,6 +521,6 @@ $(function () { // Keep-alive setInterval(function() { keepAlive(); - }, GravAdmin.config.admin_timeout*1000 - 5*1000); //Call keepAlive() 5s before the admin session timeout + }, GravAdmin.config.admin_timeout*1000 - 60*1000); //Call keepAlive() 60s before the admin session timeouts });