Rq

Latest version: v2.0.0

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

Scan your dependencies

Page 6 of 21

2.1.0

- Fixed `Requeue All`
- Django-RQ now automatically runs maintenance tasks when `rq_home` is opened

2.0

New Features:
* Multiple job executions: a job can now have multiple executions running simultaneously. This will enable future support for long running scheduled jobs. Thanks selwin!
* `Worker(default_worker_ttl=10)` is deprecated in favor of `Worker(worker_ttl=10)`. Thanks stv8!
* Added a `cleanup` parameter to `registry.get_job_ids()` and `registry.get_job_count()`. Thanks anton-daneyko-ultramarin!
* Added support for AWS Elasticache Serverless Redis. Thanks bobbywatson3!
* You can now specify TTL for deferred jobs. Thanks hberntsen!
* RQ's code base is now typed (mostly). Thanks terencehonles!
* Other minor fixes and improvements. Thanks hongquan, rbange, jackkinsella, terencehonles, wckao, sim6!

Breaking Changes:
* Dropped support for Redis server < 4
* `RoundRobinWorker` and `RandomWorker` are deprecated. Use `--dequeue-strategy <round-robin/random>` instead.
* `Job.__init__` requires both `id` and `connection` to be passed in.
* `Job.exists()` requires `connection` argument to be passed in.
* `Queue.all()` requires `connection` argument.
* `job` decorator now requires `connection` argument.
* Built in Sentry integration has been removed. To use Sentry with RQ, please refer to [Sentry's docs](https://docs.sentry.io/platforms/python/integrations/rq/).

Bug Fixes:
* Fixed an issue where abandoned jobs are sometimes not enqueued. Thanks Marishka17!
* Fixes an issue where Redis connection does not expose `name` attribute. Thanks wckao!
* `job.get_status()` will now always return `JobStatus` enum. Thanks indepndnt!
* Queue key should always be created even if jobs are deferred. Thanks sim6!
* RQ's pubsub thread will now attempt to reconnect on Redis connection errors. Thanks fcharlier!

1.16.2

* Fixed a bug that may cause jobs from intermediate queue to be moved to FailedJobRegistry. Thanks selwin!

1.16.1

* Added `worker_pool.get_worker_process()` to make `WorkerPool` easier to extend. Thanks selwin!

1.16

* Added a way for jobs to wait for latest result `job.latest_result(timeout=60)`. Thanks ajnisbet!
* Fixed an issue where `stopped_callback` is not respected when job is enqueued via `enqueue_many()`. Thanks eswolinsky3241!
* `worker-pool` no longer ignores `--quiet`. Thanks Mindiell!
* Added compatibility with AWS Serverless Redis. Thanks peter-gy!
* `worker-pool` now starts with scheduler. Thanks chromium7!

1.15.1

* Fixed a bug that may cause a crash when cleaning intermediate queue. Thanks selwin!
* Fixed a bug that may cause canceled jobs to still run dependent jobs. Thanks fredsod!

Page 6 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.