How the :db and :redis queues store a job: transit, so a handler gets back the keywords, UUIDs and instants it was given, as the in-memory queue does. They stored JSON until BOU-689, and jobs written then still decode.
How the :db and :redis queues store a job: transit, so a handler gets back the keywords, UUIDs and instants it was given, as the in-memory queue does. They stored JSON until BOU-689, and jobs written then still decode.
(decode-job s)The job s holds. Transit JSON at the top level is an array, so a string
opening with { is a JSON job from before BOU-689.
The job `s` holds. Transit JSON at the top level is an array, so a string
opening with `{` is a JSON job from before BOU-689.(encode-job job)job as the string the queue stores.
`job` as the string the queue stores.
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 |