Skip to content

Commit 899d14b

Browse files
committed
docs(mcp): document file-idle eviction TTL
The guide claimed "two backstops" and only described the LRU cap and the disconnected-live TTL, omitting the new file-idle TTL entirely -- a cold agent reading it would have no idea idle file-loaded captures now expire too, or what env var controls it.
1 parent c1145d4 commit 899d14b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

extra/mcp/eval_guide.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,14 @@ frees it just because your conversation ends.
8787
- `list_instances` reports `idle_seconds` and `connected` per instance; use
8888
it to spot stale ones before starting a new session, especially if you're
8989
about to load several captures for comparison.
90-
- The server does provide two backstops, both configurable via environment
90+
- The server provides three backstops, all configurable via environment
9191
variables at startup: it evicts the least-recently-used *evictable*
9292
instance (disconnected live sessions, or any loaded file capture — never
9393
a still-connected live one) once the instance count reaches
94-
`TRACY_MCP_MAX_INSTANCES` (default 4), and it drops a disconnected live
94+
`TRACY_MCP_MAX_INSTANCES` (default 4); it drops a disconnected live
9595
instance that's sat idle for `TRACY_MCP_DISCONNECTED_TTL_S` (default
9696
1800s / 30 min) so a session is still there for analysis right after the
97-
target disconnects, but doesn't linger forever if forgotten.
97+
target disconnects, but doesn't linger forever if forgotten; and it drops
98+
a file-loaded capture that's sat idle for `TRACY_MCP_FILE_IDLE_TTL_S`
99+
(default 1800s) — safe to let expire since it's already durably on disk,
100+
just `load_capture` it again.

0 commit comments

Comments
 (0)