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:
+1
-1
@@ -20,7 +20,7 @@ def bot_task(username, password):
|
|||||||
log.info(f"Created new bot runniner. Username: {username}")
|
log.info(f"Created new bot runniner. Username: {username}")
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
time.sleep(random.randint(1, 120))
|
time.sleep(random.randint(1, 50))
|
||||||
bot = Bot(username=username, password=password)
|
bot = Bot(username=username, password=password)
|
||||||
bot.login()
|
bot.login()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user