mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-11-24 17:06:23 -05:00
Transport: update interface_hashes_updated_at timestamp
This commit is contained in:
parent
7c912d0936
commit
731a63b01b
1 changed files with 1 additions and 0 deletions
|
|
@ -3524,6 +3524,7 @@ class Transport:
|
|||
# Throttle interface hash lookup to 2 seconds
|
||||
if time.time() > interface_hashes_updated_at + 2:
|
||||
interface_hashes = Transport.interface_hashes()
|
||||
interface_hashes_updated_at = time.time()
|
||||
|
||||
# Get the destination entry from the destination table
|
||||
de = path_table[destination_hash]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue