feat(server.py): create a thread for _poll_loop

This commit is contained in:
2025-08-26 19:10:24 +02:00
parent d8405fa363
commit b8f5fdc794

View File

@@ -34,6 +34,9 @@ class BackendServer:
def start_polling(self) -> None:
self.running = True
threading.Thread(
name="BackendServer thread", target=self._poll_loop, daemon=True
).start()
def _poll_loop(self) -> None:
while self.running: