()
| 2009 | */ |
| 2010 | private async runDeferredSynthesis(): Promise<void> { |
| 2011 | const retryLater = (): void => { |
| 2012 | if (!this.db.isOpen()) return; |
| 2013 | this.armDeferredSynthesis(parseSynthMinIntervalEnv(process.env.CODEGRAPH_SYNTH_MIN_INTERVAL_MS) ?? 1000); |
| 2014 | }; |
| 2015 | try { |
| 2016 | await this.indexMutex.withLock(async () => { |
| 2017 | if (this.queries.getMetadata('synthesis_pending') !== '1') return; |
nothing calls this directly
no test coverage detected