()
| 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; |
nothing calls this directly
no test coverage detected