mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
publish own RouterInfo every 40 minutes if nothing changed
This commit is contained in:
parent
f3548daede
commit
2a76f1decd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue