|
@ -25,7 +25,7 @@ class Transactions { |
|
|
// Caches
|
|
|
// Caches
|
|
|
this.prevCache = LRU({ |
|
|
this.prevCache = LRU({ |
|
|
// Maximum number of transactions to store
|
|
|
// Maximum number of transactions to store
|
|
|
max: 100000, |
|
|
max: 20000, |
|
|
// Function used to compute length of item
|
|
|
// Function used to compute length of item
|
|
|
length: (n, key) => 1, |
|
|
length: (n, key) => 1, |
|
|
// Maximum age for items in the cache. Items do not expire
|
|
|
// Maximum age for items in the cache. Items do not expire
|
|
|