diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-16 18:10:40 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-16 18:10:40 -0800 |
commit | 37acd375d6e7476f4eb55a25c4ddb6ddeca9d6c8 (patch) | |
tree | 2c85e5a8ca7ecdd04577a0bff324ea8f8931f106 | |
parent | 7a53ecac86a24db1ffae066355eef7f3fd59ba90 (diff) | |
download | infinitytier-37acd375d6e7476f4eb55a25c4ddb6ddeca9d6c8.tar.gz infinitytier-37acd375d6e7476f4eb55a25c4ddb6ddeca9d6c8.zip |
Fix 64-bit int warning.
-rw-r--r-- | service/ClusterGeoIpService.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/ClusterGeoIpService.cpp b/service/ClusterGeoIpService.cpp index 5e4780b4..f646fe99 100644 --- a/service/ClusterGeoIpService.cpp +++ b/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 { |