mirror of https://github.com/oxen-io/lokinet
Add min intro set paths, slightly increase spread speed
This should ensure that we have enough shortly after startup for initial path builds. The spread speed here gets slightly increased to lifetime/5 (=4min) instead of lifetime/4 (=5min) so that our "normal" number of paths is 5 with occassional momentary drops to 4, but should always keep us >= the new minimum of 4. Because the path spread happens over time, this shouldn't result in a rebuild of several paths: we'll build 4 quickly, then another at +4m, another at +8m, etc. When the initial 4 expire, we'll be dropping from 9 to 5 established but that's still above the minimum (4) so we won't need to reconnect to several at once, and the spread builds should keep us at 5 all the time.pull/1147/head
parent
5b075259e6
commit
823c17206f
Loading…
Reference in New Issue