mcp connection
Some checks failed
CI / fixture (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-09-22 10:58:02 +05:30
parent 4e1f746b22
commit f2aa3b3ad8
53 changed files with 12515 additions and 37 deletions

View File

@@ -65,10 +65,14 @@ func run() error {
return err
}
// The sweeper's context is cancelled by the same signal that stops the
// server, so the ticker goes away with the process rather than outliving
// the pool it queries.
// The sweepers' context is cancelled by the same signal that stops the
// server, so the tickers go away with the process rather than outliving
// the pool they query.
go sweepSessions(ctx, server.Sessions(), log)
// OAuth codes and tokens, and the rate-limit counters. Returns immediately
// when the deployment does not serve MCP, so this line costs an unconfigured
// deployment one nil check at startup and nothing after.
go httpserver.SweepMaintenance(ctx, server.Maintenance(), log)
errCh := make(chan error, 1)
go func() { errCh <- server.Start() }()