FIX: updateDescribeGraph() is disabled by default (too slow on low-end machines)
This commit is contained in:
parent
f0ad86f1b9
commit
f0bf066cfd
@ -1,4 +1,5 @@
|
|||||||
let config = {
|
let config = {
|
||||||
|
enableUpdateDescribeGraph: false,
|
||||||
postRateLimit: 100,
|
postRateLimit: 100,
|
||||||
rateLimit: 200,
|
rateLimit: 200,
|
||||||
bitcoind: {
|
bitcoind: {
|
||||||
|
@ -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 ########################
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user