Decrease MAX_TX_QUERY_LIMIT_SUMMARY to 500
- Summary cache is triggered for addresses with more than 500 tx
This commit is contained in:
parent
e7248320a6
commit
158d5aefc2
@ -18,7 +18,7 @@ var XXHash = require('xxhash');
|
||||
|
||||
const MAX_TX_QUERY_LIMIT_HISTORY = 1000;
|
||||
const MAX_TX_QUERY_LIMIT_UTXO = 1000;
|
||||
const MAX_TX_QUERY_LIMIT_SUMMARY = 5000;
|
||||
const MAX_TX_QUERY_LIMIT_SUMMARY = 500;
|
||||
|
||||
// See rationale about this cache at function getTxList(next)
|
||||
const TXID_LIST_CACHE_ITEMS = 250; // nr of items (this translates to: consecutive
|
||||
|
||||
Loading…
Reference in New Issue
Block a user