chattyness/config.toml

18 lines
581 B
TOML

# Chattyness Application Configuration
[websocket]
# Timeout for receiving messages from client before considering connection dead (seconds)
recv_timeout_secs = 45
# Interval for client to send ping to keep connection alive (seconds)
client_ping_interval_secs = 30
[cleanup]
# Interval for running stale member cleanup job (seconds)
reap_interval_secs = 120
# Members with no activity for this duration are considered stale (seconds)
stale_threshold_secs = 120
# Clear all instance_members on server startup (recommended for single-server deployments)
clear_on_startup = true