mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 08:32:43 +00:00
publish number of leasets and routers for floodfill
This commit is contained in:
1 parent
647bb501d1
commit
0b754ec65d
6 files changed
+28
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user