* NetDB: Reduce max RI publish interval

This commit is contained in:
zzz
2011-10-31 00:09:10 +00:00
parent 6892469e0e
commit fd25ead0bd

View File

@@ -72,7 +72,7 @@ public class PublishLocalRouterInfoJob extends JobImpl {
_log.error("Error signing the updated local router info!", dfe);
}
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 {
requeue(FIRST_TIME_DELAY);
_notFirstTime = true;