We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85696e2 commit 780dc15Copy full SHA for 780dc15
servers/fdr/src/services/docs-cache/DocsDefinitionCache.ts
@@ -148,6 +148,10 @@ export class DocsDefinitionCacheImpl implements DocsDefinitionCache {
148
149
this.app.logger.info(`Cache MISS for ${url}`);
150
const dbResponse = await this.getDocsForUrlFromDatabase({ url });
151
+ await this.app.services.s3.writeLoadDocsForUrlResponse({
152
+ domain: url.hostname,
153
+ readDocsDefinition: dbResponse.response,
154
+ });
155
156
// we don't want to cache from READ if we are currently updating the cache via WRITE
157
if (!this.getDocsWriteMonitor(url.hostname).isLocked()) {
0 commit comments