From 63953ba9f395c2b10be8600592bdf96f026e69be Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 17 Dec 2024 12:58:20 +0000 Subject: [PATCH] feat: update polling interval from 30s to 60s in metrics collector The polling interval for the metrics collection service has been adjusted from 30 seconds to 60 seconds to reduce system load and network traffic while maintaining adequate monitoring granularity. --- src/ragnar/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragnar/cli.py b/src/ragnar/cli.py index c82ea1f..3e872cb 100644 --- a/src/ragnar/cli.py +++ b/src/ragnar/cli.py @@ -20,7 +20,7 @@ def bot_task(username, password): log.info(f"Created new bot runniner. Username: {username}") while True: - time.sleep(random.randint(1, 120)) + time.sleep(random.randint(1, 50)) bot = Bot(username=username, password=password) bot.login()