Docs and tweak some caching values.

This commit is contained in:
Adam Ierymenko 2015-11-16 09:54:08 -08:00
parent 0d9f33dc4f
commit ddf0cb0278
2 changed files with 16 additions and 1 deletions

View file

@ -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 {