MCPcopy Create free account
hub / github.com/codeaashu/claude-code / cleanup

Method cleanup

src/server/web/auth/adapter.ts:214–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 // ── Internals ─────────────────────────────────────────────────────────────
213
214 private cleanup(): void {
215 const now = Date.now();
216 for (const [id, s] of this.sessions) {
217 if (now > s.expiresAt) this.sessions.delete(id);
218 }
219 }
220}

Callers 3

constructorMethod · 0.95
pty-server.tsFile · 0.45
auth.test.tsFile · 0.45

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected