MCPcopy
hub / github.com/claude-code-best/claude-code / getPollIntervalConfig

Function getPollIntervalConfig

src/bridge/pollConfig.ts:102–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 * can tune both poll rates fleet-wide with a single config push.
101 */
102export function getPollIntervalConfig(): PollIntervalConfig {
103 const raw = getFeatureValue_CACHED_WITH_REFRESH<unknown>(
104 'tengu_bridge_poll_interval_config',
105 DEFAULT_POLL_CONFIG,
106 5 * 60 * 1000,
107 )
108 const parsed = pollIntervalConfigSchema().safeParse(raw)
109 return parsed.success ? parsed.data : DEFAULT_POLL_CONFIG
110}

Callers 5

initBridgeCoreFunction · 0.85
startWorkPollLoopFunction · 0.85
runBridgeLoopFunction · 0.85
bridgeMainFunction · 0.85
constructorMethod · 0.85

Tested by

no test coverage detected