From e799b319dfb24bde1d109d009efbafcce7ae9639 Mon Sep 17 00:00:00 2001
From: Gaetan Lepage <gaetan.lepage@inria.fr>
Date: Wed, 6 Jul 2022 22:50:49 +0200
Subject: [PATCH] minor things

---
 backend/main.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/backend/main.py b/backend/main.py
index a0fffeb..f032842 100755
--- a/backend/main.py
+++ b/backend/main.py
@@ -49,7 +49,6 @@ def _update_loop(socket_io: socketio.Server) -> None:
             # If the update fails, just ignore it and try another time.
             try:
                 payload_dict: dict = cluster.update()
-                # payload_dict: dict = {}
 
                 socket_io.emit(
                     event='update',
@@ -61,7 +60,7 @@ def _update_loop(socket_io: socketio.Server) -> None:
 
         # Eventually wait before updating again
         if REFRESH_TIME > 0:
-            LOGGER.info("waiting %is before updating again", REFRESH_TIME)
+            LOGGER.debug("waiting %is before updating again", REFRESH_TIME)
             time.sleep(REFRESH_TIME)
 
         step_counter += 1
@@ -91,7 +90,7 @@ def callback_disconnect(*args) -> None:
 
 def main() -> None:
 
-    # Run the update loop that gets updates from the data fetcher.
+    # Run the update loop that queries cluster information
     socket_io.start_background_task(
         target=_update_loop,
         socket_io=socket_io
-- 
GitLab