summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 09:54:08 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-11-16 09:54:08 -0800
commitddf0cb0278f43351c726ccb46e3bc60296fe5a79 (patch)
tree607e180727df20c8b13c8735a5f0ef0d97609e67 /service
parent0d9f33dc4f14b7339d1893e79772a8e49b4821eb (diff)
downloadinfinitytier-ddf0cb0278f43351c726ccb46e3bc60296fe5a79.tar.gz
infinitytier-ddf0cb0278f43351c726ccb46e3bc60296fe5a79.zip
Docs and tweak some caching values.
Diffstat (limited to 'service')
-rw-r--r--service/ClusterGeoIpService.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/ClusterGeoIpService.cpp b/service/ClusterGeoIpService.cpp
index 9baa7506..5e4780b4 100644
--- a/service/ClusterGeoIpService.cpp
+++ b/service/ClusterGeoIpService.cpp
@@ -44,7 +44,8 @@
#include "../node/Utils.hpp"
#include "../osdep/OSUtils.hpp"
-#define ZT_CLUSTERGEOIPSERVICE_INTERNAL_CACHE_TTL (60 * 60 * 1000)
+// Same as in cluster-geo.js but unlike cluster-geo this cache is volatile
+#define ZT_CLUSTERGEOIPSERVICE_INTERNAL_CACHE_TTL (60 * 60 * 24 * 120 * 1000)
namespace ZeroTier {