diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-14 13:17:10 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-03-14 13:17:10 -0700 |
commit | 27d4bedd73f41c1637555d47bc9f89194cee92d7 (patch) | |
tree | 9673ff0dc479db5a71b4a5871e980db835e52415 | |
parent | 37629aaf87c300ee5f9a56ecbbcdc1c4bb7db97f (diff) | |
download | infinitytier-27d4bedd73f41c1637555d47bc9f89194cee92d7.tar.gz infinitytier-27d4bedd73f41c1637555d47bc9f89194cee92d7.zip |
Wait a minute (literally) before doing software update check on startup.
-rw-r--r-- | service/OneService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 129c0499..ea64b4aa 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -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(;;) { |