memorelay: increase LRU limits
This commit is contained in:
parent
da6738a405
commit
b3c7e22052
|
@ -4,8 +4,8 @@ import { getFilterId, type GetFiltersOpts, getMicroFilters, isMicrofilter } from
|
|||
const debug = Debug('ditto:memorelay');
|
||||
|
||||
const events = new LRUCache<string, Event>({
|
||||
max: 1000,
|
||||
maxEntrySize: 1000,
|
||||
max: 3000,
|
||||
maxEntrySize: 5000,
|
||||
sizeCalculation: (event) => JSON.stringify(event).length,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue