FIX: updateDescribeGraph() is disabled by default (too slow on low-end machines)

This commit is contained in:
Overtorment
2021-05-14 11:10:41 +01:00
parent f0ad86f1b9
commit f0bf066cfd
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
let config = { let config = {
enableUpdateDescribeGraph: false,
postRateLimit: 100, postRateLimit: 100,
rateLimit: 200, rateLimit: 200,
bitcoind: { bitcoind: {
+4 -2
View File
@@ -118,8 +118,10 @@ function updateDescribeGraph() {
console.log('updated graph'); console.log('updated graph');
}); });
} }
updateDescribeGraph(); if (config.enableUpdateDescribeGraph) {
setInterval(updateDescribeGraph, 120000); updateDescribeGraph();
setInterval(updateDescribeGraph, 120000);
}
// ######################## ROUTES ######################## // ######################## ROUTES ########################