diff --git a/packages/dappmanager/src/daemons/ethicalMetrics/index.ts b/packages/dappmanager/src/daemons/ethicalMetrics/index.ts index 65595c04e..a54bbcbb2 100644 --- a/packages/dappmanager/src/daemons/ethicalMetrics/index.ts +++ b/packages/dappmanager/src/daemons/ethicalMetrics/index.ts @@ -93,7 +93,6 @@ export function startEthicalMetricsDaemon(signal: AbortSignal): void { const runEthicalMetricsTaskMemo = runOnlyOneSequentially(async () => { try { await checkEthicalMetricsStatus(); - // TODO: register instance WITH EMAIL } catch (e) { logs.error("Error on ethical metrics installer daemon", e); } @@ -104,7 +103,7 @@ export function startEthicalMetricsDaemon(signal: AbortSignal): void { runAtMostEvery( async () => runEthicalMetricsTaskMemo(), - params.AUTO_UPDATE_DAEMON_INTERVAL, + params.ETH_METRICS_DAEMON_INTERVAL, signal ); } diff --git a/packages/dappmanager/src/params.ts b/packages/dappmanager/src/params.ts index 3fa110f4d..2f0d2da58 100644 --- a/packages/dappmanager/src/params.ts +++ b/packages/dappmanager/src/params.ts @@ -136,6 +136,7 @@ const params = { CHECK_DISK_USAGE_DAEMON_INTERVAL: 1 * MINUTE, NAT_RENEWAL_DAEMON_INTERVAL: 1 * HOUR, NSUPDATE_DAEMON_INTERVAL: 1 * HOUR, + ETH_METRICS_DAEMON_INTERVAL: 1 * HOUR, // IPFS parameters IPFS_HOST: process.env.IPFS_HOST || process.env.IPFS_REDIRECT,