🐛 Minor fix on worker executors monitor

This commit is contained in:
Andrey Antukh 2022-02-28 17:21:36 +01:00
parent a644599b16
commit e60b8a7aef

View file

@ -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})