mirror of
https://github.com/mempool/mempool.git
synced 2025-04-08 03:48:31 +02:00
Reduce /internal/txs RBF cache query chunk size to 250
This commit is contained in:
parent
5998b54fec
commit
c0a481acbe
@ -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…
x
Reference in New Issue
Block a user