Rq

Latest version: v2.0.0

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 19 of 21

0.3.6

Not secure
(February 18th, 2013)

- Worker registrations now expire. This should prevent `rqinfo` from reporting
about ghosted workers. (Thanks, yaniv-aknin!)

- `rqworker` will automatically clean up ghosted worker registrations from
pre-0.3.6 runs.

- `rqworker` grew a `-q` flag, to be more silent (only warnings/errors are shown)

0.3.5

Not secure
(February 6th, 2013)

- `ended_at` is now recorded for normally finished jobs, too. (Previously only
for failed jobs.)

- Adds support for both `Redis` and `StrictRedis` connection types

- Makes `StrictRedis` the default connection type if none is explicitly provided

0.3.4

Not secure
(January 23rd, 2013)

- Restore compatibility with Python 2.6.

0.3.3

Not secure
(January 18th, 2013)

- Fix bug where work was lost due to silently ignored unpickle errors.

- Jobs can now access the current `Job` instance from within. Relevant
documentation [here](http://python-rq.org/docs/jobs/).

- Custom properties can be set by modifying the `job.meta` dict. Relevant
documentation [here](http://python-rq.org/docs/jobs/).

- Custom properties can be set by modifying the `job.meta` dict. Relevant
documentation [here](http://python-rq.org/docs/jobs/).

- `rqworker` now has an optional `--password` flag.

- Remove `logbook` dependency (in favor of `logging`)

0.3.2

Not secure
(September 3rd, 2012)

- Fixes broken `rqinfo` command.

- Improve compatibility with Python < 2.7.

0.3.1

Not secure
(August 30th, 2012)

- `.enqueue()` now takes a `result_ttl` keyword argument that can be used to
change the expiration time of results.

- Queue constructor now takes an optional `async=False` argument 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 `is_queued`, `is_finished` or
`is_failed`.

- 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
`None` and a job that isn't finished yet (see `status` property).

- Custom exception handlers can now be configured in addition to, or to fully
replace, moving failed jobs to the failed queue. Relevant documentation
[here](http://python-rq.org/docs/exceptions/) and
[here](http://python-rq.org/patterns/sentry/).

- `rqworker` now supports passing in configuration files instead of the
many command line options: `rqworker -c settings` will source
`settings.py`.

- `rqworker` now supports one-flag setup to enable Sentry as its exception
handler: `rqworker --sentry-dsn="http://public:secretexample.com/1"`
Alternatively, you can use a settings file and configure `SENTRY_DSN
= 'http://public:secretexample.com/1'` instead.

Page 19 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.