From ddf0cb0278f43351c726ccb46e3bc60296fe5a79 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 16 Nov 2015 09:54:08 -0800 Subject: Docs and tweak some caching values. --- service/ClusterGeoIpService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/ClusterGeoIpService.cpp') 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 { -- cgit v1.2.3