fix(braindance): expire retained state promptly

- Keep records for the five-minute flag lifetime plus a one-minute margin.
- Prevent historical records from exhausting global storage.
This commit is contained in:
TakuyaYagam1 committed 2026-11-29 15:13:08 +03:00
1 parent 8fed2f0fe7
commit b60d431b67
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ services:
environment:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "1"
RETENTION_SECONDS: ${RETENTION_SECONDS:-1800}
RETENTION_SECONDS: ${RETENTION_SECONDS:-360}
FLAG_LIFETIME_SECONDS: ${FLAG_LIFETIME_SECONDS:-300}
CLEANUP_INTERVAL_SECONDS: ${CLEANUP_INTERVAL_SECONDS:-15}
SNAPSHOT_INTERVAL_SECONDS: ${SNAPSHOT_INTERVAL_SECONDS:-5}