I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit fd25ead0 authored by zzz's avatar zzz
Browse files

* NetDB: Reduce max RI publish interval

parent 6892469e
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ public class PublishLocalRouterInfoJob extends JobImpl { ...@@ -72,7 +72,7 @@ public class PublishLocalRouterInfoJob extends JobImpl {
_log.error("Error signing the updated local router info!", dfe); _log.error("Error signing the updated local router info!", dfe);
} }
if (_notFirstTime) { if (_notFirstTime) {
requeue((PUBLISH_DELAY/2) + getContext().random().nextInt((int)PUBLISH_DELAY)); requeue((PUBLISH_DELAY * 3 / 4) + getContext().random().nextInt((int)PUBLISH_DELAY / 2));
} else { } else {
requeue(FIRST_TIME_DELAY); requeue(FIRST_TIME_DELAY);
_notFirstTime = true; _notFirstTime = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment