mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-19 14:36:34 -05:00
Merge branch 'master' into dev_pr_stamps
This commit is contained in:
commit
c68066edff
1 changed files with 1 additions and 1 deletions
|
|
@ -1128,7 +1128,7 @@ class Transport:
|
|||
cull_count = len(unused_paths) - Transport.PATH_POOL_UNUSED_TARGET
|
||||
RNS.log(f"Culling {cull_count} never used path table entries to reach pool size target {Transport.PATH_POOL_UNUSED_TARGET}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
|
||||
unused_paths.sort()
|
||||
for cull_entry in unused_paths[-cull_count:]:
|
||||
for cull_entry in unused_paths[:cull_count]:
|
||||
stale_paths.append(cull_entry[1])
|
||||
|
||||
if check_unused:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue