MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / retryLater

Method retryLater

src/index.ts:1960–1963  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1958 */
1959 private async runDeferredSynthesis(): Promise<void> {
1960 const retryLater = (): void => {
1961 if (!this.db.isOpen()) return;
1962 this.armDeferredSynthesis(parseSynthMinIntervalEnv(process.env.CODEGRAPH_SYNTH_MIN_INTERVAL_MS) ?? 1000);
1963 };
1964 try {
1965 await this.indexMutex.withLock(async () => {
1966 if (this.queries.getMetadata('synthesis_pending') !== '1') return;

Callers

nothing calls this directly

Calls 3

armDeferredSynthesisMethod · 0.95
parseSynthMinIntervalEnvFunction · 0.85
isOpenMethod · 0.80

Tested by

no test coverage detected