Give threads less time to shut down gracefully. Attempt shutdown() rather than stop() on the telnet connections to see if that improves things

This commit is contained in:
Ian Renton
2026-09-19 15:07:31 +01:00
parent 0eb4553406
commit f45b7d51b0
23 changed files with 40 additions and 30 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class APRSIS(SpotProvider):
if self._aprsis:
self._aprsis.close()
if self._thread:
self._thread.join(timeout=15)
self._thread.join(timeout=5)
if self._thread.is_alive():
logger.warning("APRS-IS worker thread did not exit on time and will be killed.")