rq v0.3.1 Release Notes
(August 30th, 2012)
.enqueue()now takes a
result_ttlkeyword argument that can be used to change the expiration time of results.
Queue constructor now takes an optional
async=Falseargument to bypass the worker (for testing purposes).
👷 Jobs now carry status information. To get job status information, like whether a job is queued, finished, or failed, use the property
status, or one of the new boolean accessor properties
👷 Jobs return values are always stored explicitly, even if they have to explicit return value or return
None(with given TTL of course). This makes it possible to distinguish between a job that explicitly returned
Noneand a job that isn't finished yet (see
rqworkernow supports passing in configuration files instead of the many command line options:
rqworker -c settingswill source
rqworkernow supports one-flag setup to enable Sentry as its exception handler:
rqworker --sentry-dsn="http://public:[email protected]/1"Alternatively, you can use a settings file and configure
SENTRY_DSN = 'http://public:[email protected]/1'instead.