Bump version to 0.6.4 for testing, integrate software updater auto-check into PacketDecoder decode path and main loop.
This commit is contained in:
parent
54c2c945e0
commit
c8166b2db1
5 changed files with 31 additions and 1 deletions
|
@ -434,6 +434,9 @@ Node::ReasonForTermination Node::run()
|
|||
#ifdef ZT_AUTO_UPDATE
|
||||
if (ZT_DEFAULTS.updateLatestNfoURL.length())
|
||||
_r->updater = new SoftwareUpdater(_r);
|
||||
else {
|
||||
LOG("WARNING: unable to enable software updates: latest .nfo URL from ZT_DEFAULTS is empty (does this platform actually support software updates?)");
|
||||
}
|
||||
#endif
|
||||
|
||||
// Bind local port for core I/O
|
||||
|
@ -575,6 +578,8 @@ Node::ReasonForTermination Node::run()
|
|||
_r->mc->clean();
|
||||
_r->topology->clean();
|
||||
_r->nc->clean();
|
||||
if (_r->updater)
|
||||
_r->updater->checkIfMaxIntervalExceeded(now);
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue