mirror of
https://github.com/penpot/penpot.git
synced 2025-07-20 00:37:17 +02:00
🐛 Fix minor issue on executors monitor
This commit is contained in:
parent
03a082fe40
commit
d1c834e647
2 changed files with 1 additions and 2 deletions
|
@ -79,9 +79,9 @@
|
|||
(letfn [(log-stats [scheduler state]
|
||||
(doseq [[key ^ForkJoinPool executor] executors]
|
||||
(let [labels (into-array String [(name key)])
|
||||
active (.getActiveThreadCount executor)
|
||||
running (.getRunningThreadCount executor)
|
||||
queued (.getQueuedSubmissionCount executor)
|
||||
active (.getPoolSize executor)
|
||||
steals (.getStealCount executor)
|
||||
steals-increment (- steals (or (get-in @state [key :steals]) 0))
|
||||
steals-increment (if (neg? steals-increment) 0 steals-increment)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue