Tuneing ping timeouts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user