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.
This commit is contained in:
Hemna 2021-12-06 14:34:22 -05:00
parent 055835cb3c
commit d3dd08714b
1 changed files with 1 additions and 1 deletions

View File

@ -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):