mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 20:11:42 +02:00
✨ Allow disable worker
This commit is contained in:
parent
95bb3f31af
commit
7fa609d5f4
6 changed files with 56 additions and 59 deletions
|
@ -224,7 +224,7 @@
|
|||
:name (d/name name)
|
||||
:queue (d/name queue))
|
||||
(do
|
||||
(l/info :hint "worker started"
|
||||
(l/info :hint "worker initialized"
|
||||
:name (d/name name)
|
||||
:queue (d/name queue))
|
||||
(event-loop cfg)))
|
||||
|
@ -565,7 +565,7 @@
|
|||
(l/info :hint "registry initialized" :tasks (count tasks))
|
||||
(reduce-kv (fn [res k v]
|
||||
(let [tname (name k)]
|
||||
(l/trace :hint "register task" :name tname)
|
||||
(l/debug :hint "register task" :name tname)
|
||||
(assoc res k (wrap-task-handler metrics tname v))))
|
||||
{}
|
||||
tasks))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue