Rq

Latest version: v1.16.2

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

Scan your dependencies

Page 11 of 21

1.2.1

* `enqueue_at()` and `enqueue_in()` now sets job status to `scheduled`. Thanks coolhacker170597!
* Failed jobs data are now automatically expired by Redis. Thanks selwin!
* Fixes `RQScheduler` logging configuration. Thanks FlorianPerucki!

1.2.0

- Supports Python 3.7 by renaming `async` to `is_async`. Thanks Flimm!
- `UnpickleError` is now handled properly. Thanks selwin!
- Redis Sentinel support. Thanks SpeedyCoder!

1.1.0

- Fixed some admin related bugs. Thanks seiryuz!
- More Django 2.0 compatibility fixes. Thanks selwin and koddr!
- Custom `Job` and `Worker` classes are now supported. Thanks skirsdeda!
- `SENTRY_DSN` value in `settings.py` will now be used by default. Thanks inetss!

1.0.1

- Django 2.0 compatibility fixes.
- Minor bug fixes

1.0

Backward incompatible changes:

- `job.status` has been removed. Use `job.get_status()` and `job.set_status()` instead. Thanks selwin!

- `FailedQueue` has been replaced with `FailedJobRegistry`:
* `get_failed_queue()` function has been removed. Please use `FailedJobRegistry(queue=queue)` instead.
* `move_to_failed_queue()` has been removed.
* RQ now provides a mechanism to automatically cleanup failed jobs. By default, failed jobs are kept for 1 year.
* Thanks selwin!

- RQ's custom job exception handling mechanism has also changed slightly:
* RQ's default exception handling mechanism (moving jobs to `FailedJobRegistry`) can be disabled by doing `Worker(disable_default_exception_handler=True)`.
* Custom exception handlers are no longer executed in reverse order.
* Thanks selwin!

- `Worker` names are now randomized. Thanks selwin!

- `timeout` argument on `queue.enqueue()` has been deprecated in favor of `job_timeout`. Thanks selwin!

- Sentry integration has been reworked:
* RQ now uses the new [sentry-sdk](https://pypi.org/project/sentry-sdk/) in place of the deprecated [Raven](https://pypi.org/project/raven/) library
* RQ will look for the more explicit `RQ_SENTRY_DSN` environment variable instead of `SENTRY_DSN` before instantiating Sentry integration
* Thanks selwin!

- Fixed `Worker.total_working_time` accounting bug. Thanks selwin!

1.0.0

- You can now view worker information
- Detailed worker statistics such as failed/completed job count are
now shown (requires RQ >= 0.9.0). Thanks seiryuz!
- `rqstats` management command now allows you to monitor queue stats
via CLI. Thanks seiryuz!
- Added `/stats.json` endpoint to fetch RQ stats in JSON format,
useful for monitoring purposes. Thanks seiryuz!
- Fixed a crash when displaying deferring jobs. Thanks Hovercross!
- Added `sentry-dsn` cli option to `rqworker` management command.
Thanks efi-mk!
- Improved performance when requeueing all jobs. Thanks
therefromhere!

Page 11 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.