mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Reduce /internal/txs RBF cache query chunk size to 250
This commit is contained in:
parent
5998b54fec
commit
c0a481acbe
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ class RbfCache {
|
|||
};
|
||||
|
||||
if (config.MEMPOOL.BACKEND === 'esplora') {
|
||||
const sliceLength = 1000;
|
||||
const sliceLength = 250;
|
||||
for (let i = 0; i < Math.ceil(txids.length / sliceLength); i++) {
|
||||
const slice = txids.slice(i * sliceLength, (i + 1) * sliceLength);
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue