Adam Ierymenko пре 9 година
родитељ
комит
37acd375d6
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      service/ClusterGeoIpService.cpp

+ 2 - 2
service/ClusterGeoIpService.cpp

@@ -44,8 +44,8 @@
 #include "../node/Utils.hpp"
 #include "../osdep/OSUtils.hpp"
 
-// 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)
+// 120 days
+#define ZT_CLUSTERGEOIPSERVICE_INTERNAL_CACHE_TTL 10368000000ULL
 
 namespace ZeroTier {