publish number of leasets and routers for floodfill

This commit is contained in:
orignal committed 2015-03-18 15:06:15 -04:00
1 parent 647bb501d1
commit 0b754ec65d
6 files changed
+28 -4

No files matched your search

+2 -1
View File
@@ -173,7 +173,8 @@ namespace data
}
lastSave = ts;
}
if (ts - lastPublish >= 2400) // publish every 40 minutes
if (i2p::context.GetLastUpdateTime () > lastPublish || // our router has been updated
ts - lastPublish >= 2400) // or publish every 40 minutes
{
Publish ();
lastPublish = ts;