MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / getFeedbackInterval

Function getFeedbackInterval

packages/cli/src/telemetry/feedback.ts:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const DEFAULT_FEEDBACK_INTERVAL = 15;
9
10function getFeedbackInterval(): number {
11 const env = process.env.HYPERFRAMES_FEEDBACK_INTERVAL;
12 if (env) {
13 const n = parseInt(env, 10);
14 if (Number.isFinite(n) && n > 0) return n;
15 }
16 return DEFAULT_FEEDBACK_INTERVAL;
17}
18
19let promptedThisSession = false;
20

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected