redis pt 4: presence & more cache invalidation

This commit is contained in:
2026-03-30 23:48:18 +08:00
parent ad09de2b11
commit 4151984b5c
16 changed files with 328 additions and 13 deletions

View File

@@ -12,6 +12,9 @@ REDIS_PORT=6379
REDIS_REQUIRED=false
REDIS_CONNECT_TIMEOUT_MS=5000
REDIS_STARTUP_RETRIES=10
# Stale presence cleanup threshold and interval
PRESENCE_STALE_AGE_MS=604800000
PRESENCE_CLEANUP_INTERVAL_MS=300000
# Cache
CACHE_KEY_PREFIX=friendolls