Browse Source

publish own RouterInfo every 40 minutes if nothing changed

pull/147/head
orignal 10 years ago
parent
commit
2a76f1decd
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -162,7 +162,7 @@ namespace data @@ -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…
Cancel
Save