Better resource advertisement timeout.

This commit is contained in:
Mark Qvist 2021-08-28 14:41:25 +02:00
parent 66b2be87f4
commit 6d441dac02

View File

@ -197,7 +197,7 @@ class Resource:
if timeout != None:
self.timeout = timeout
else:
self.timeout = self.link.default_timeout
self.timeout = self.link.rtt * 20
if data != None:
self.initiator = True