Skip to content

Commit ae7ca12

Browse files
author
dori
committed
fix: reduce max session and increase retention day
1 parent 7333816 commit ae7ca12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mcp_as_a_judge/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# Database Configuration
1515
DATABASE_URL = "sqlite://:memory:"
1616
MAX_SESSION_RECORDS = 20 # Maximum records to keep per session (FIFO)
17-
MAX_TOTAL_SESSIONS = 2000 # Maximum total sessions to keep (LRU cleanup)
18-
RECORD_RETENTION_DAYS = 1 # Optional time-based cleanup (fallback)
17+
MAX_TOTAL_SESSIONS = 50 # Maximum total sessions to keep (LRU cleanup)
18+
RECORD_RETENTION_DAYS = 10 # Optional time-based cleanup (fallback)

0 commit comments

Comments
 (0)