increase jquery.geoip local cache duration

git-svn-id: http://piwigo.org/svn/trunk@28067 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2014-04-04 04:18:02 +00:00
parent be877ea935
commit 030b8cf318
+1 -1
View File
@@ -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;