Skip to content

Commit 734b5ae

Browse files
authored
Revert "chore: store to s3 after cache miss" (#3286)
1 parent 780dc15 commit 734b5ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

servers/fdr/src/services/docs-cache/DocsDefinitionCache.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ export class DocsDefinitionCacheImpl implements DocsDefinitionCache {
148148

149149
this.app.logger.info(`Cache MISS for ${url}`);
150150
const dbResponse = await this.getDocsForUrlFromDatabase({ url });
151-
await this.app.services.s3.writeLoadDocsForUrlResponse({
152-
domain: url.hostname,
153-
readDocsDefinition: dbResponse.response,
154-
});
155151

156152
// we don't want to cache from READ if we are currently updating the cache via WRITE
157153
if (!this.getDocsWriteMonitor(url.hostname).isLocked()) {

0 commit comments

Comments
 (0)