mirror of
https://github.com/markqvist/LXMF.git
synced 2025-07-02 09:56:43 -04:00
Use no_data_for instead of inactive_for for cleaning links
This commit is contained in:
parent
37e99910ec
commit
499fe4cc53
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ class LXMRouter:
|
|||
closed_links = []
|
||||
for link_hash in self.direct_links:
|
||||
link = self.direct_links[link_hash]
|
||||
inactive_time = link.inactive_for()
|
||||
inactive_time = link.no_data_for()
|
||||
|
||||
if inactive_time > LXMRouter.LINK_MAX_INACTIVITY:
|
||||
link.teardown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue