From e60b8a7aeff8de5738331fb037b1ac5690301d38 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 28 Feb 2022 17:21:36 +0100 Subject: [PATCH] :bug: Minor fix on worker executors monitor --- backend/src/app/worker.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/worker.clj b/backend/src/app/worker.clj index 96430d2e5..44b72f63a 100644 --- a/backend/src/app/worker.clj +++ b/backend/src/app/worker.clj @@ -83,7 +83,7 @@ running (.getRunningThreadCount executor) queued (.getQueuedSubmissionCount executor) steals (.getStealCount executor) - steals-increment (- steals (or (get-in @state [key :steals]) 9)) + steals-increment (- steals (or (get-in @state [key :steals]) 0)) steals-increment (if (neg? steals-increment) 0 steals-increment)] (mtx/run! metrics {:id :executors-active-threads :labels labels :val active})