mirror of
https://github.com/penpot/penpot.git
synced 2025-05-15 23:36:37 +02:00
🐛 Minor fix on worker executors monitor
This commit is contained in:
parent
a644599b16
commit
e60b8a7aef
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue