index_updater run forever

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 17:32:07 +01:00
parent 7a60df2668
commit 04a5dbc19d
1 changed files with 1 additions and 2 deletions

View File

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