Browse Source

1->5 sec cache for mempool info

master
Dan Janosik 4 years ago
parent
commit
b6bbbe3595
No known key found for this signature in database GPG Key ID: C6F8CE9FFDB2CED2
  1. 2
      app/api/coreApi.js

2
app/api/coreApi.js

@ -225,7 +225,7 @@ function getNetTotals() {
} }
function getMempoolInfo() { function getMempoolInfo() {
return tryCacheThenRpcApi(miscCache, "getMempoolInfo", ONE_SEC, rpcApi.getMempoolInfo); return tryCacheThenRpcApi(miscCache, "getMempoolInfo", 5 * ONE_SEC, rpcApi.getMempoolInfo);
} }
function getMempoolTxids() { function getMempoolTxids() {

Loading…
Cancel
Save