It also creates the database, if it does not exist.
create_queue(name = NULL, db = default_db(), crash_strategy = "fail")
Name of the queue. If not specified or NULL
, a
name is generated randomly.
Path to the database file.
What to do with crashed jobs. The default is that
they will "fail"
(just like a negative acknowledgement). Another
possibility is "requeue"
, in which case they are requeued
immediately, potentially even multiple times. Alternatively it can be
a number, in which case they are requeued at most the specified number
of times.
liteq for examples
Other liteq queues: delete_queue
,
ensure_queue
, list_queues