Tuneing ping timeouts

This commit is contained in:
2025-07-26 04:00:46 +09:30
parent 45acc4eec6
commit 6e21e49681
3 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -14,11 +14,12 @@ REDIS_URL = "redis://172.17.0.1:6379/2"
# Configurable intervals
PING_INTERVAL_SECONDS = 2 # How often to send PING requests
REDIS_PING_EXPIRY_SECONDS = 30 # Redis key expiry value
PING_INTERVAL_SECONDS = 15 # How often to send PING requests
REDIS_PING_EXPIRY_SECONDS = 120 # Redis key expiry value
PING_EXPIRY_SECONDS = 5 # How long between PING and PONG before we raise the alarm - TODO - Impliment this
ASSIGN_INTERVAL_SECONDS = 30
LIVENESS_CHECK_INTERVAL_SECONDS = 5 # How often to cross check connected_workers with ping results from Redis
PING_EXPIRY_SECONDS = 3 # How long between PING and PONG before we raise the alarm
# Database configuration