API to manage dead jobs.
API to manage dead jobs. - [API wiki](https://github.com/nilenso/goose/wiki/API)
(delete-older-than broker epoch-ms)Deletes Dead Jobs older than given epoch-ms.
Deletes Dead Jobs older than given epoch-ms.
(find-by-id broker id)Finds a Dead Job by :id.
Finds a Dead Job by `:id`.
(find-by-pattern broker match?)(find-by-pattern broker match? limit)Finds a Dead Jobs by user-defined parameters.
If limit isn't mentioned, defaults to 10.
Finds a Dead Jobs by user-defined parameters.\ If limit isn't mentioned, defaults to 10.
(pop broker)Pops the oldest Dead Job from the queue & returns it.
Pops the oldest Dead Job from the queue & returns it.
(replay-job broker job)Re-enqueues given Dead Job to front of queue for execution,
after verification of existence.
Hence, this accepts only 1 job instead of multiple.
Re-enqueues given Dead Job to front of queue for execution, after verification of existence.\ Hence, this accepts only 1 job instead of multiple.
(replay-n-jobs broker n)Re-enqueues n oldest Dead Jobs to front of queue for execution.
Re-enqueues n oldest Dead Jobs to front of queue for execution.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |