From 154a4be05a9e03cc99f90509232c321ada51acd5 Mon Sep 17 00:00:00 2001 From: Taranto Date: Fri, 29 Apr 2022 11:27:47 +0100 Subject: [PATCH] fix: prune heartbeat only being executed once --- lib/poller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/poller.js b/lib/poller.js index 41f1850d..9cbd38bd 100644 --- a/lib/poller.js +++ b/lib/poller.js @@ -197,7 +197,7 @@ function doPolling (schema) { addToQueue(initialSanctionsDownload, SANCTIONS_INITIAL_DOWNLOAD_INTERVAL, schema, QUEUE.SLOW) addToQueue(updateAndLoadSanctions, SANCTIONS_UPDATE_INTERVAL, schema, QUEUE.SLOW) addToQueue(updateCoinAtmRadar, RADAR_UPDATE_INTERVAL, schema, QUEUE.SLOW) - addToQueue(pi().pruneMachinesHeartbeat(), PRUNE_MACHINES_HEARTBEAT, schema, QUEUE.SLOW, settings) + addToQueue(pi().pruneMachinesHeartbeat, PRUNE_MACHINES_HEARTBEAT, schema, QUEUE.SLOW, settings) } function setup (schemasToAdd = [], schemasToRemove = []) {