123 Commits (8432a916bd07bdad8189ad2fc6c53694c8a750ce)

Author SHA1 Message Date
Selwin Ong 819c61be9b Bump version to 1.4.3 5 years ago
Selwin Ong 23d43874b6 Bump version to 1.4.2 5 years ago
Selwin Ong 4d450ec94d Bump version to 1.4.1 5 years ago
Selwin Ong 02eb983e90 Bump version to 1.4.0 5 years ago
Selwin Ong add0b171ec Bump version to 1.3.0 5 years ago
Selwin Ong f18a951eec Bump version to 1.2.2 5 years ago
Selwin Ong 90e032cd64 Bump version to 1.2.1 5 years ago
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.
5 years ago
Selwin Ong a06421e125 Updated changelog 5 years ago
Selwin Ong a407bcfe36 Updated changelog 5 years ago
Selwin Ong f50e60d2f4 Updated CHANGES.md 6 years ago
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
6 years ago
Selwin Ong fca61d1e82 RQ 1.0 is released today 6 years ago
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
6 years ago
Selwin Ong bf0b4308fd Bump version to 0.13.0 6 years ago
Selwin Ong 6a376191d9 Bump version to 0.12.0 7 years ago
Selwin Ong a5596caf42 Bump version to 0.11.0 7 years ago
Selwin Ong ca0d7ef9f1 Bump version to 0.10.0 7 years ago
Selwin Ong 44a0a7b972 Bump version to 0.9.2. 7 years ago
Selwin Ong e5de3dfbb5 Bump version to 0.9.1. 7 years ago
Selwin Ong 3c98175a4a Bump version to 0.9.0 7 years ago
Selwin Ong cc41bdfa65 Bump version to 0.8.2. 7 years ago
Selwin Ong 03c3f66ca7 Bump version to 0.8.1. 8 years ago
Selwin Ong fbe4cafe2a Updated changelog and tag v0.8. 8 years ago
Selwin Ong fe84828d72 Bump up version to 0.8.0 and updated changelog. 8 years ago
Selwin Ong 1ae10dd529 Bump version to 0.7.1. 8 years ago
Vincent Driessen 20e258f610 Bump to 0.7.0 8 years ago
Vincent Driessen 07adca6ca3 Bump dev version 9 years ago
Selwin Ong 636e34e55f Updated changelog. 9 years ago
Selwin Ong 7b1df1e878 Bump version to 0.6.0. 9 years ago
Selwin Ong c2f452c47a Update CHANGES.md 9 years ago
Vincent Driessen 319f98a36e Update changelog for 0.5.5 9 years ago
Vincent Driessen 807f649f6c Add changelog for 0.5.4 10 years ago
Vincent Driessen 72fdbaf509 Update changelog 10 years ago
Selwin Ong 8f9c507f12 Bump version to 0.5.3. 10 years ago
Vincent Driessen 8f7322ed10 This is 0.5.2 10 years ago
Vincent Driessen 5e57e97b4e Add changelog for 0.5.1. 10 years ago
Selwin Ong 008d72ff09 Documented new features in 0.5.0. 10 years ago
Vincent Driessen 052d0df4bf Update CHANGES. 11 years ago
Vincent Driessen 6644872273 Raise warning when using async Sentry transport. 11 years ago
Vincent Driessen 2314b62d8c Start release 0.4.6. 11 years ago
Vincent Driessen 0fbc9e4851 Release 0.4.5. 11 years ago
Vincent Driessen 972b367af4 Release 0.4.4. 11 years ago
Vincent Driessen c0567be69a Release 0.4.3. 11 years ago
Vincent Driessen ef9456ddbd Bump version to 0.4.2. 11 years ago
Vincent Driessen 415662d42c Bump version. 11 years ago
Vincent Driessen 39258e2c15 Release 0.4.0. 11 years ago
Vincent Driessen cb34acc279 Add rqinfo -X command.
This can be used to empty the failed queue right from the command line.
11 years ago
Vincent Driessen c106604f17 Add note that custom worker classes are now supported. 11 years ago
Vincent Driessen d08352b103 Update CHANGES. 11 years ago