From 030b8cf3180102f894290369a37ebb98d45ce45a Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 4 Apr 2014 04:18:02 +0000 Subject: increase jquery.geoip local cache duration git-svn-id: http://piwigo.org/svn/trunk@28067 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/js/jquery.geoip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') diff --git a/admin/themes/default/js/jquery.geoip.js b/admin/themes/default/js/jquery.geoip.js index cba374ba5..3d85913cf 100644 --- a/admin/themes/default/js/jquery.geoip.js +++ b/admin/themes/default/js/jquery.geoip.js @@ -11,7 +11,7 @@ GeoIp = { cache = JSON.parse(cache); for (var key in cache) { var data = cache[key]; - if ( (new Date()).getTime() - data.reqTime > 36 * 3600000) + if ( (new Date()).getTime() - data.reqTime > 96 * 3600000) delete cache[key]; } GeoIp.cache = cache; -- cgit v1.2.3