diff --git a/bridge-server/src/storage.js b/bridge-server/src/storage.js index 46be5dc..9409223 100644 --- a/bridge-server/src/storage.js +++ b/bridge-server/src/storage.js @@ -3,7 +3,7 @@ * Each extraction is stored with a unique ID, timestamp, and the full payload. */ /** Maximum number of extractions to keep in memory */ -const MAX_EXTRACTIONS = 10; +const MAX_EXTRACTIONS = 1; class ExtractionStore { constructor() { this.extractions = new Map(); diff --git a/bridge-server/src/storage.ts b/bridge-server/src/storage.ts index 4fcfbde..810a0f7 100644 --- a/bridge-server/src/storage.ts +++ b/bridge-server/src/storage.ts @@ -30,7 +30,7 @@ export interface Extraction { } /** Maximum number of extractions to keep in memory */ -const MAX_EXTRACTIONS = 10; +const MAX_EXTRACTIONS = 1; class ExtractionStore { private extractions: Map = new Map();