From d3dd08714bb172d8804170e421283d6794a253c7 Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 6 Dec 2021 14:34:22 -0500 Subject: [PATCH] Reduced the APRSIS connection reset to 2 minutes The time in which the KeepAlive Thread would reset the APRS-IS socket connection used to be 5 minutes. This patch changes that to 2 minutes. --- aprsd/threads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/threads.py b/aprsd/threads.py index 3d5350b..e8422f3 100644 --- a/aprsd/threads.py +++ b/aprsd/threads.py @@ -88,7 +88,7 @@ class KeepAliveThread(APRSDThread): tracemalloc.start() super().__init__("KeepAlive") self.config = config - max_timeout = {"hours": 0.0, "minutes": 5, "seconds": 0} + max_timeout = {"hours": 0.0, "minutes": 2, "seconds": 0} self.max_delta = datetime.timedelta(**max_timeout) def loop(self):