delayed first peer-ping to send the first ping out after the http got

up; if the ping comes before the http is up, it cannot be recognized as
senior peer (if at all). See also: http://bugs.yacy.net/view.php?id=266
pull/1/head
orbiter 12 years ago
parent e24016e30a
commit 5364c4dcc9

@ -1045,7 +1045,7 @@ public final class Switchboard extends serverSwitch {
Long.MAX_VALUE,
30000,
Long.MAX_VALUE),
2000);
8000);
deployThread(
SwitchboardConstants.INDEX_DIST,
"DHT Distribution",
@ -1060,7 +1060,7 @@ public final class Switchboard extends serverSwitch {
Long.MAX_VALUE,
1000,
Long.MAX_VALUE),
5000,
60000,
Long.parseLong(getConfig(SwitchboardConstants.INDEX_DIST_IDLESLEEP, "5000")),
Long.parseLong(getConfig(SwitchboardConstants.INDEX_DIST_BUSYSLEEP, "0")),
Long.parseLong(getConfig(SwitchboardConstants.INDEX_DIST_MEMPREREQ, "1000000")));

Loading…
Cancel
Save