diff --git a/backend/src/app/config.clj b/backend/src/app/config.clj index 42a7929fa..92ef6c89d 100644 --- a/backend/src/app/config.clj +++ b/backend/src/app/config.clj @@ -46,7 +46,7 @@ :registration-enabled true :registration-domain-whitelist "" - :telemetry-enabled true + :telemetry-enabled false :telemetry-uri "http://localhost:6063/" :debug true diff --git a/backend/src/app/main.clj b/backend/src/app/main.clj index ef17baac3..d37d99ad6 100644 --- a/backend/src/app/main.clj +++ b/backend/src/app/main.clj @@ -181,7 +181,8 @@ (when (:telemetry-enabled cfg/config) {:id "telemetry" :cron #app/cron "0 0 */3 * * ?" ;; every 3h - :fn (ig/ref :app.tasks.telemetry/handler)})]} + :uri (:telemetry-uri cfg/config) + :fn (ig/ref :app.tasks.telemetry/handler)})]} :app.tasks/all {"sendmail" (ig/ref :app.tasks.sendmail/handler)