diff --git a/server/app.py b/server/app.py index c84c3ad..c422c33 100644 --- a/server/app.py +++ b/server/app.py @@ -122,7 +122,7 @@ def update_tube_index(): TUBE_INDEX = cur.fetchall() cur.close() print("Updated index: "+str(TUBE_INDEX)) - time.sleep(10) + time.sleep(1) def mqtt_publisher(): global TUBE_INDEX