Dumb minor thing

This commit is contained in:
2022-01-09 08:52:43 -08:00
parent 6c83b40d95
commit 175f723003

View File

@@ -63,7 +63,6 @@
(defn collect-jetty-stats []
(try
(log/info "collecting jetty stats")
(statsd/gauge "requests.active" (double (.getRequestsActive (.getHandler jetty))))
(statsd/gauge "requests.1xx" (double (.getResponses1xx (.getHandler jetty))))
(statsd/gauge "requests.2xx" (double (.getResponses2xx (.getHandler jetty))))
@@ -87,7 +86,7 @@
(defn -main [& args]
(let [without (cond-> []
(not (env :run-web? )) (into [#'jetty
#'collect-jetty-stats])
#'jetty-stats])
(not (env :run-background?)) (into [#'square/square-loader
#'vendor/refresh-vendor-usages-worker
#'ledger/touch-broken-ledger-worker