mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 10:21:39 +02:00
♻️ Refactor loggers/audit, auth/oidc, and http/clent modules
This commit is contained in:
parent
7f7efc5760
commit
8bad9d8340
29 changed files with 796 additions and 769 deletions
|
@ -288,10 +288,10 @@
|
|||
::queue
|
||||
::registry]))
|
||||
|
||||
;; FIXME: define queue as set
|
||||
(defmethod ig/prep-key ::worker
|
||||
[_ cfg]
|
||||
(merge {::queue "default"
|
||||
::parallelism 1}
|
||||
(merge {::queue "default" ::parallelism 1}
|
||||
(d/without-nils cfg)))
|
||||
|
||||
(defmethod ig/init-key ::worker
|
||||
|
@ -666,10 +666,10 @@
|
|||
props (-> options extract-props db/tjson)
|
||||
id (uuid/next)]
|
||||
|
||||
(l/debug :action "submit task"
|
||||
(l/debug :hint "submit task"
|
||||
:name (d/name task)
|
||||
:queue queue
|
||||
:in duration)
|
||||
:in (dt/format-duration duration))
|
||||
|
||||
(db/exec-one! conn [sql:insert-new-task id (d/name task) props
|
||||
queue priority max-retries interval])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue