|
|
@ -3,7 +3,7 @@ |
|
|
* Each extraction is stored with a unique ID, timestamp, and the full payload. |
|
|
* Each extraction is stored with a unique ID, timestamp, and the full payload. |
|
|
*/ |
|
|
*/ |
|
|
/** Maximum number of extractions to keep in memory */ |
|
|
/** Maximum number of extractions to keep in memory */ |
|
|
const MAX_EXTRACTIONS = 10; |
|
|
|
|
|
|
|
|
const MAX_EXTRACTIONS = 1; |
|
|
class ExtractionStore { |
|
|
class ExtractionStore { |
|
|
constructor() { |
|
|
constructor() { |
|
|
this.extractions = new Map(); |
|
|
this.extractions = new Map(); |
|
|
|