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

Function refreshPolicyLimits

src/services/policyLimits/index.ts:581–590  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

579 * Used when login occurs
580 */
581export async function refreshPolicyLimits(): Promise<void> {
582 await clearPolicyLimitsCache()
583
584 if (!isPolicyLimitsEligible()) {
585 return
586 }
587
588 await fetchAndLoadPolicyLimits()
589 logForDebugging('Policy limits: Refreshed after auth change')
590}
591
592/**
593 * Clear all policy limits (session, persistent, and stop polling)

Callers 2

runFunction · 0.85
callFunction · 0.85

Calls 4

clearPolicyLimitsCacheFunction · 0.85
isPolicyLimitsEligibleFunction · 0.85
fetchAndLoadPolicyLimitsFunction · 0.85
logForDebuggingFunction · 0.85

Tested by

no test coverage detected