mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-08 06:23:06 -04:00
Improved link stale process and timeout calculations
This commit is contained in:
parent
49616a36cf
commit
33fac728f8
2 changed files with 39 additions and 5 deletions
|
@ -68,7 +68,7 @@ class Transport:
|
|||
PATH_REQUEST_GRACE = 0.35 # Grace time before a path announcement is made, allows directly reachable peers to respond first
|
||||
PATH_REQUEST_RW = 2 # Path request random window
|
||||
|
||||
LINK_TIMEOUT = RNS.Link.KEEPALIVE * 2
|
||||
LINK_TIMEOUT = RNS.Link.STALE_TIME * 1.25
|
||||
REVERSE_TIMEOUT = 30*60 # Reverse table entries are removed after max 30 minutes
|
||||
DESTINATION_TIMEOUT = PATHFINDER_E # Destination table entries are removed if unused for one week
|
||||
MAX_RECEIPTS = 1024 # Maximum number of receipts to keep track of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue