diff --git a/CHANGES.md b/CHANGES.md index 1fd88eee..19025711 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,15 @@ +### RQ 1.14.0 (2023-05-01) +* Added a new `Callback` class that allows more flexibility in declaring job callbacks. Thanks @ronlut! +* Fixed a regression where jobs with unserializable return value crashes RQ. Thanks @tchapi! +* Added `--dequeue-strategy` option to RQ's CLI. Thanks @ccrvlh! +* Added `--max-idle-time` option to RQ's worker CLI. Thanks @ronlut! +* Added `--maintenance-interval` option to RQ's worker CLI. Thanks @ronlut! +* Fixed RQ usage in Windows as well as various other refactorings. Thanks @ccrvlh! +* Show more info on `rq info` CLI command. Thanks @iggeehu! +* `queue.enqueue_jobs()` now properly account for job dependencies. Thanks @sim6! +* `TimerDeathPenalty` now properly handles negative/infinite timeout. Thanks @marqueurs404! +* + ### RQ 1.13.0 (2023-02-19) * Added `work_horse_killed_handler` argument to `Worker`. Thanks @ronlut! * Fixed an issue where results aren't properly persisted on synchronous jobs. Thanks @selwin! diff --git a/docs/docs/workers.md b/docs/docs/workers.md index 52b4ff34..d690f04a 100644 --- a/docs/docs/workers.md +++ b/docs/docs/workers.md @@ -69,11 +69,15 @@ In addition to `--burst`, `rq worker` also accepts these arguments: * `--date-format`: Datetime format for the worker logs, defaults to `'%H:%M:%S'` * `--disable-job-desc-logging`: Turn off job description logging. * `--max-jobs`: Maximum number of jobs to execute. -* `--dequeue-strategy`: The strategy to dequeue jobs from multiple queues (one of `default`, `random` or `round_robin`, defaults to `default`) - _New in version 1.8.0._ * `--serializer`: Path to serializer object (e.g "rq.serializers.DefaultSerializer" or "rq.serializers.JSONSerializer") +_New in version 1.14.0._ +* `--dequeue-strategy`: The strategy to dequeue jobs from multiple queues (one of `default`, `random` or `round_robin`, defaults to `default`) +* `--max-idle-time`: if specified, worker will wait for X seconds for a job to arrive before shuttind down. +* `--maintenance-interval`: defaults to 600 seconds. Runs maintenance tasks every X seconds. + + ## Inside the worker ### The Worker Lifecycle