mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 13:01:40 +02:00
🎉 Add better error reporting.
This commit is contained in:
parent
a881d86637
commit
4d7a34a998
14 changed files with 238 additions and 72 deletions
|
@ -380,7 +380,7 @@
|
|||
(defn thread-pool
|
||||
([] (thread-pool {}))
|
||||
([{:keys [min-threads max-threads name]
|
||||
:or {min-threads 0 max-threads 128}}]
|
||||
:or {min-threads 0 max-threads 256}}]
|
||||
(let [executor (QueuedThreadPool. max-threads min-threads)]
|
||||
(.setName executor (or name "default-tp"))
|
||||
(.start executor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue