From 04a5dbc19d7f2aada730f58a0fcc928edbaa6c18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 17:32:07 +0100 Subject: [PATCH] index_updater run forever MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/app.py b/server/app.py index 91d11d3..ac3d8d8 100644 --- a/server/app.py +++ b/server/app.py @@ -130,8 +130,7 @@ if __name__ == "__main__": flask_thread.start() index_updater = asyncio.get_event_loop() - index_updater.run_until_complete(tube_index_updater()) - index_updater.close() + index_updater.run_forever(tube_index_updater()) # Create and start a thread for each universe mqtt_client = connect_mqtt()