aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-04-04 04:18:02 +0000
committerrvelices <rv-github@modusoptimus.com>2014-04-04 04:18:02 +0000
commit030b8cf3180102f894290369a37ebb98d45ce45a (patch)
treea0cac582a52722ca0e5e63eeb3d8f4fa1c68e311 /admin
parentbe877ea935d6619f4c3ce63df11d4d7124317eea (diff)
increase jquery.geoip local cache duration
git-svn-id: http://piwigo.org/svn/trunk@28067 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/default/js/jquery.geoip.js2
1 files changed, 1 insertions, 1 deletions
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;