diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-04-04 04:18:02 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-04-04 04:18:02 +0000 |
commit | 030b8cf3180102f894290369a37ebb98d45ce45a (patch) | |
tree | a0cac582a52722ca0e5e63eeb3d8f4fa1c68e311 /admin/themes/default/js | |
parent | be877ea935d6619f4c3ce63df11d4d7124317eea (diff) |
increase jquery.geoip local cache duration
git-svn-id: http://piwigo.org/svn/trunk@28067 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/js/jquery.geoip.js | 2 |
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; |