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
} }
lastSave = ts; lastSave = ts;
} }
if (ts - lastPublish >= 600) // publish every 10 minutes if (ts - lastPublish >= 2400) // publish every 40 minutes
{ {
Publish (); Publish ();
lastPublish = ts; lastPublish = ts;

Loading…
Cancel
Save