Commit 123f9ffb authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Increase seqno interval.

I don't quite understand the tradeoff that's involved, but now that
multihop requests work, this shouldn't harm, and might make more routes
feasible straight away.
parent ede1b136
...@@ -259,8 +259,7 @@ main(int argc, char **argv) ...@@ -259,8 +259,7 @@ main(int argc, char **argv)
update_interval = MAX(update_interval, 70); update_interval = MAX(update_interval, 70);
if(seqno_interval <= 0) if(seqno_interval <= 0)
/* This should be slightly less than the self_update_interval */ seqno_interval = MAX(40000, update_interval * 9 / 10);
seqno_interval = MAX(1000, update_interval * 4 / 10);
seqno_interval = MAX(seqno_interval, 20); seqno_interval = MAX(seqno_interval, 20);
if(do_daemonise) { if(do_daemonise) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment