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.
This commit is contained in:
retoor 2024-12-17 12:58:20 +00:00
parent bee8353b13
commit 63953ba9f3

View File

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