mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
💄 Add minor cosmetic improvement to worker ns
This commit is contained in:
parent
275c8b5860
commit
0e380a97cc
1 changed files with 6 additions and 2 deletions
|
@ -643,8 +643,12 @@
|
||||||
|
|
||||||
(def ^:private
|
(def ^:private
|
||||||
sql:remove-not-started-tasks
|
sql:remove-not-started-tasks
|
||||||
"delete from task
|
"DELETE FROM task
|
||||||
where name=? and queue=? and label=? and status = 'new' and scheduled_at > now()")
|
WHERE name=?
|
||||||
|
AND queue=?
|
||||||
|
AND label=?
|
||||||
|
AND status = 'new'
|
||||||
|
AND scheduled_at > now()")
|
||||||
|
|
||||||
(s/def ::label string?)
|
(s/def ::label string?)
|
||||||
(s/def ::task (s/or :kw keyword? :str string?))
|
(s/def ::task (s/or :kw keyword? :str string?))
|
||||||
|
|
Loading…
Add table
Reference in a new issue