mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-23 06:00:18 +00:00
Better resource advertisement timeout.
This commit is contained in:
parent
66b2be87f4
commit
6d441dac02
@ -197,7 +197,7 @@ class Resource:
|
|||||||
if timeout != None:
|
if timeout != None:
|
||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
else:
|
else:
|
||||||
self.timeout = self.link.default_timeout
|
self.timeout = self.link.rtt * 20
|
||||||
|
|
||||||
if data != None:
|
if data != None:
|
||||||
self.initiator = True
|
self.initiator = True
|
||||||
|
Loading…
Reference in New Issue
Block a user