MCPcopy Index your code
hub / github.com/codeaashu/claude-code / allow

Method allow

src/server/web/session-manager.ts:26–28  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

24 }
25
26 allow(userId: string): boolean {
27 return this.recent(userId).length < this.maxPerHour;
28 }
29
30 record(userId: string): void {
31 const r = this.recent(userId);

Callers 1

isUserRateLimitedMethod · 0.45

Calls 1

recentMethod · 0.95

Tested by

no test coverage detected