MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / getRateLimitConfig

Function getRateLimitConfig

website/api/lib/security.js:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15function getRateLimitConfig() {
16 return {
17 windowMs: parsePositiveInt(process.env.BUNDLE_TRIGGER_RATE_LIMIT_WINDOW_MS, DEFAULT_RATE_LIMIT_WINDOW_MS),
18 maxRequests: parsePositiveInt(process.env.BUNDLE_TRIGGER_RATE_LIMIT_MAX, DEFAULT_RATE_LIMIT_MAX),
19 };
20}
21
22function getRepoProtectionConfig() {
23 return {

Callers 2

cleanupExpiredEntriesFunction · 0.85
checkRateLimitFunction · 0.85

Calls 1

parsePositiveIntFunction · 0.85

Tested by

no test coverage detected