mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-04-28 16:50:00 -07:00
Better thread configuration
This commit is contained in:
@@ -319,6 +319,7 @@ class LocalServerInterface(Interface):
|
||||
address = (self.bind_ip, self.bind_port)
|
||||
|
||||
self.server = ThreadingTCPServer(address, handlerFactory(self.incoming_connection))
|
||||
self.server.daemon_threads = True
|
||||
|
||||
thread = threading.Thread(target=self.server.serve_forever)
|
||||
thread.daemon = True
|
||||
|
||||
Reference in New Issue
Block a user