don't try to republish forever

This commit is contained in:
Jeff Becker 2016-07-14 16:59:26 -04:00
parent 7d04ba0fc3
commit 4fdd9feddc
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
2 changed files with 2 additions and 7 deletions

View file

@ -31,12 +31,7 @@ namespace data
const int NETDB_INTRODUCEE_EXPIRATION_TIMEOUT = 65*60;
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90*60; // 1.5 hours
const int NETDB_MAX_EXPIRATION_TIMEOUT = 27*60*60; // 27 hours
#ifdef MESHNET
const int NETDB_PUBLISH_INTERVAL = 60;
#else
const int NETDB_PUBLISH_INTERVAL = 60*40;
#endif
class NetDb
{