1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

publish own RouterInfo every 40 minutes if nothing changed

This commit is contained in:
orignal 2015-01-08 16:14:05 -05:00
parent f3548daede
commit 2a76f1decd

View File

@ -162,7 +162,7 @@ namespace data
}
lastSave = ts;
}
if (ts - lastPublish >= 600) // publish every 10 minutes
if (ts - lastPublish >= 2400) // publish every 40 minutes
{
Publish ();
lastPublish = ts;