db_create_queue: Create a queue

Description Usage Arguments

View source: R/db.R

Description

The database columns:

Usage

1
db_create_queue(name, db, crash_strategy)

Arguments

name

Name of the queue. If not specified or NULL, a name is generated randomly.

db

Path to the database file.

crash_strategy

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.


r-lib/liteq documentation built on Dec. 18, 2017, 9:12 a.m.