Wait a minute (literally) before doing software update check on startup.

This commit is contained in:
Adam Ierymenko 2017-03-14 13:17:10 -07:00
parent 37629aaf87
commit 27d4bedd73

View File

@ -827,7 +827,7 @@ public:
_lastRestart = clockShouldBe;
uint64_t lastTapMulticastGroupCheck = 0;
uint64_t lastBindRefresh = 0;
uint64_t lastUpdateCheck = clockShouldBe;
uint64_t lastUpdateCheck = clockShouldBe + 60000;
uint64_t lastLocalInterfaceAddressCheck = (clockShouldBe - ZT_LOCAL_INTERFACE_CHECK_INTERVAL) + 15000; // do this in 15s to give portmapper time to configure and other things time to settle
uint64_t lastCleanedIddb = 0;
for(;;) {