Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6d79ff3

Browse files
code refactored
1 parent a9dcb45 commit 6d79ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/main/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,13 @@ async def check_redis_errors():
393393
"""will check if redis is making too many errors then switch redis off if it's the case"""
394394
while True:
395395
await redis_cache.redis_errors.check_error_threshold()
396-
await asyncio.sleep(delay=60*10)
396+
await asyncio.sleep(delay=60*60*10)
397397

398398
async def monitor_servers():
399399
"""will prioritize servers which are responsive and also available"""
400400
while True:
401401
await remote_servers.sort_api_servers_by_health()
402-
await asyncio.sleep(delay=60 * 90)
402+
await asyncio.sleep(delay=60 * 60*30)
403403

404404
asyncio.create_task(setup_cf_firewall())
405405
asyncio.create_task(backup_cf_firewall_data())

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /