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 = {
|
||||
enableUpdateDescribeGraph: false,
|
||||
postRateLimit: 100,
|
||||
rateLimit: 200,
|
||||
bitcoind: {
|
||||
|
@ -118,8 +118,10 @@ function updateDescribeGraph() {
|
||||
console.log('updated graph');
|
||||
});
|
||||
}
|
||||
updateDescribeGraph();
|
||||
setInterval(updateDescribeGraph, 120000);
|
||||
if (config.enableUpdateDescribeGraph) {
|
||||
updateDescribeGraph();
|
||||
setInterval(updateDescribeGraph, 120000);
|
||||
}
|
||||
|
||||
// ######################## ROUTES ########################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user