Commit Graph

140 Commits

Author SHA1 Message Date
Selwin Ong 8f4e51b7a4 Bump version to 1.12.0 2023-01-15 18:21:40 +07:00
Selwin Ong 80c0edc232 Bump version to 1.11.1 2022-09-25 08:44:51 +07:00
Selwin Ong 98c200d07a Bump version to 1.11.0 2022-07-31 17:00:37 +07:00
Selwin Ong 08377698ab Updated changelog. 2022-07-31 15:56:59 +07:00
Selwin Ong db445f96b2
Update changelog to mention changes in sync job executions 2021-12-11 18:36:16 +07:00
Selwin Ong 97caa841ff Bump version to 1.10.1 2021-12-07 19:45:48 +07:00
Selwin Ong 08a4315e8d Bump version to 1.10.0 2021-09-09 18:31:21 +07:00
Selwin Ong 653d4917e7 Updated changelog 2021-06-30 14:08:23 +07:00
Selwin Ong ba276c274e Updated changelog 2021-05-17 13:58:08 +07:00
Selwin Ong 42ca608d96 Bump version to 1.8.0 2021-03-31 08:45:17 +07:00
Selwin Ong d3b07fba47 Bump version to 1.7.0 2020-11-29 16:41:56 +07:00
Selwin Ong 3ead30a34e Bump version to 1.6.1 2020-11-08 11:37:03 +07:00
Selwin Ong b3703b5357 Bump to version 1.6.0 2020-11-08 11:17:20 +07:00
Selwin Ong e6f153ee86 Bump version to 1.5.2 2020-09-10 08:19:53 +07:00
Selwin Ong 20248cf268 Bump version to 1.5.1 2020-08-21 09:29:45 +07:00
Selwin Ong f3c86c02c6 Bump version to 1.5.0 2020-07-26 17:49:09 +07:00
mbarkhau 3902962aac
Python 2.7 supported dropped in 1.4.0 (CHANGES.md) (#1295)
With revision 02eb983e90 the `python_requires` was set to `3.4`
2020-07-10 08:07:16 +07:00
Selwin Ong 819c61be9b Bump version to 1.4.3 2020-06-28 21:26:15 +07:00
Selwin Ong 23d43874b6 Bump version to 1.4.2 2020-05-26 20:14:32 +07:00
Selwin Ong 4d450ec94d Bump version to 1.4.1 2020-05-16 17:46:55 +07:00
Selwin Ong 02eb983e90 Bump version to 1.4.0 2020-05-13 08:10:29 +07:00
Selwin Ong add0b171ec Bump version to 1.3.0 2020-03-09 19:28:30 +07:00
Selwin Ong f18a951eec Bump version to 1.2.2 2020-01-31 21:43:00 +07:00
Selwin Ong 90e032cd64 Bump version to 1.2.1 2020-01-31 15:38:44 +07:00
Selwin Ong baa0cc268a
Job scheduling (#1163)
* First RQScheduler prototype

* WIP job scheduling

* Fixed Python 2.7 tests

* Added ScheduledJobRegistry.get_scheduled_time(job)

* WIP on scheduler's threading mechanism

* Fixed test errors

* Changed scheduler.acquire_locks() to instance method

* Added scheduler.prepare_registries()

* Somewhat working implementation of RQ scheduler

* Only call stop_scheduler if there's a scheduler present

* Use OSError rather than ProcessLookupError for PyPy compatibility

* Added `auto_start` argument to scheduler.acquire_locks()

* Make RQScheduler play better with timezone

* Fixed test error

* Added --with-scheduler flag to rq worker CLI

* Fix tests on Python 2.x

* More Python 2 fixes

* Only call `scheduler.start` if worker is run in non burst mode

* Fixed an issue where running worker with scheduler would fail sometimes

* Make `worker.stop_scheduler()` more resilient to errors

* worker.dequeue_job_and_maintain_ttl() should also periodically run maintenance tasks

* Scheduler can now work with worker in both burst and non burst mode

* Fixed scheduler logging message

* Always log scheduler errors when running

* Improve scheduler error logging message

* Removed testing code

* Scheduler should periodically try to acquire locks for other queues it doesn't have

* Added tests for scheduler.should_reacquire_locks

* Added queue.enqueue_in()

* Fixes queue.enqueue_in() in Python 2.7

* First stab at documenting job scheduling

* Remove unused methods

* Remove Python 2.6 logging compatibility code

* Remove more unused imports

* Added convenience methods to access job registries from queue

* Added test for worker.run_maintenance_tasks()

* Simplify worker.queue_names() and worker.queue_keys()

* Updated changelog to mention RQ's new job scheduling mechanism.
2020-01-04 10:14:52 +07:00
Selwin Ong a06421e125 Updated changelog 2019-12-16 17:56:28 +07:00
Selwin Ong a407bcfe36 Updated changelog 2019-12-16 17:56:05 +07:00
Selwin Ong f50e60d2f4 Updated CHANGES.md 2019-07-20 17:29:52 +07:00
Paul Robertson e1c135d4de add the ability to have the worker stop executing after a max amount of jobs (#1094)
* add the ability to have the worker stop executing after a max amount of jobs

* rename to max-jobs

* updated logging messages
2019-06-12 21:07:09 +07:00
Selwin Ong fca61d1e82 RQ 1.0 is released today 2019-04-06 09:29:53 +07:00
Selwin Ong c4cbb3af2f
RQ v1.0! (#1059)
* Added FailedJobRegistry.

* Added job.failure_ttl.

* queue.enqueue() now supports failure_ttl

* Added registry.get_queue().

* FailedJobRegistry.add() now assigns DEFAULT_FAILURE_TTL.

* StartedJobRegistry.cleanup() now moves expired jobs to FailedJobRegistry.

* Failed jobs are now added to FailedJobRegistry.

* Added FailedJobRegistry.requeue()

* Document the new `FailedJobRegistry` and changes in custom exception handler behavior.

* Added worker.disable_default_exception_handler.

* Document --disable-default-exception-handler option.

* Deleted worker.failed_queue.

* Deleted "move_to_failed_queue" exception handler.

* StartedJobRegistry should no longer move jobs to FailedQueue.

* Deleted requeue_job

* Fixed test error.

* Make requeue cli command work with FailedJobRegistry

* Added .pytest_cache to gitignore.

* Custom exception handlers are no longer run in reverse

* Restored requeue_job function

* Removed get_failed_queue

* Deleted FailedQueue

* Updated changelog.

* Document `failure_ttl`

* Updated docs.

* Remove job.status

* Fixed typo in test_registry.py

* Replaced _pipeline() with pipeline()

* FailedJobRegistry no longer fails on redis-py>=3

* Fixes test_clean_registries

* Worker names are now randomized

* Added a note about random worker names in CHANGES.md

* Worker will now stop working when encountering an unhandled exception.

* Worker should reraise SystemExit on cold shutdowns

* Added anchor.js to docs

* Support for Sentry-SDK (#1045)

* Updated RQ to support sentry-sdk

* Document Sentry integration

* Install sentry-sdk before running tests

* Improved rq info CLI command to be more efficient when displaying lar… (#1046)

* Improved rq info CLI command to be more efficient when displaying large number of workers

* Fixed an rq info --by-queue bug

* Fixed worker.total_working_time bug (#1047)

* queue.enqueue() no longer accepts `timeout` argument (#1055)

* Clean worker registry (#1056)

* queue.enqueue() no longer accepts `timeout` argument

* Added clean_worker_registry()

* Show worker hostname and PID on cli (#1058)

* Show worker hostname and PID on cli

* Improve test coverage

* Remove Redis version check when SSL is used

* Bump version to 1.0

* Removed pytest_cache/README.md

* Changed worker logging to use exc_info=True

* Removed unused queue.dequeue()

* Fixed typo in CHANGES.md

* setup_loghandlers() should always call logger.setLevel() if specified
2019-03-30 09:13:56 +07:00
Selwin Ong bf0b4308fd Bump version to 0.13.0 2018-12-15 11:14:23 +07:00
Selwin Ong 6a376191d9 Bump version to 0.12.0 2018-07-14 08:00:38 +07:00
Selwin Ong a5596caf42 Bump version to 0.11.0 2018-06-01 11:22:09 +07:00
Selwin Ong ca0d7ef9f1 Bump version to 0.10.0 2018-01-02 12:59:02 +07:00
Selwin Ong 44a0a7b972 Bump version to 0.9.2. 2017-11-21 16:53:44 +07:00
Selwin Ong e5de3dfbb5 Bump version to 0.9.1. 2017-11-03 13:00:40 +07:00
Selwin Ong 3c98175a4a Bump version to 0.9.0 2017-10-28 17:37:26 +07:00
Selwin Ong cc41bdfa65 Bump version to 0.8.2. 2017-09-05 10:57:52 +07:00
Selwin Ong 03c3f66ca7 Bump version to 0.8.1. 2017-07-28 15:52:48 +07:00
Selwin Ong fbe4cafe2a Updated changelog and tag v0.8. 2017-05-01 17:09:31 +07:00
Selwin Ong fe84828d72 Bump up version to 0.8.0 and updated changelog. 2017-04-29 21:18:21 +07:00
Selwin Ong 1ae10dd529 Bump version to 0.7.1. 2016-12-04 07:58:01 +07:00
Vincent Driessen 20e258f610 Bump to 0.7.0 2016-11-18 08:42:43 +01:00
Vincent Driessen 07adca6ca3 Bump dev version 2016-06-21 09:14:58 +02:00
Selwin Ong 636e34e55f Updated changelog. 2016-05-08 21:39:09 +07:00
Selwin Ong 7b1df1e878 Bump version to 0.6.0. 2016-05-08 21:31:55 +07:00
Selwin Ong c2f452c47a Update CHANGES.md 2015-10-08 18:15:08 +07:00
Vincent Driessen 319f98a36e Update changelog for 0.5.5 2015-08-25 09:08:36 +02:00
Vincent Driessen 807f649f6c Add changelog for 0.5.4 2015-07-08 09:11:05 +02:00