MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / rate-limit.test.ts

File rate-limit.test.ts

packages/server/test/rate-limit.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Auth-failure rate limiting (ROADMAP M6.4).
3 *
4 * Two layers:

Callers

nothing calls this directly

Calls 10

createAuthFailureLimiterFunction · 0.90
badTokenFunction · 0.85
injectMethod · 0.80
jsonMethod · 0.80
isBannedMethod · 0.80
recordFailureMethod · 0.80
buildAppFunction · 0.70
readyMethod · 0.65
closeMethod · 0.65
disposeMethod · 0.65

Tested by

no test coverage detected