From 6d441dac02c3af1ef1c4cf0451ef7ced0d1a6a67 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 28 Aug 2021 14:41:25 +0200 Subject: [PATCH] Better resource advertisement timeout. --- RNS/Resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Resource.py b/RNS/Resource.py index 91b1908..f367bca 100644 --- a/RNS/Resource.py +++ b/RNS/Resource.py @@ -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