summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in scheduling doc (#1245)Vincent Jacques2020-05-101-1/+1
|
* Implement Customizable Serializer Support (#1219)Babatunde Olusola2020-04-162-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | * Implement Customizable Serializer Support * Refractor serializer instance methods * Update tests with other serializers * Edit function description * Edit function description * Raise appropriate exception * Update tests for better code coverage * Remove un-used imports and un-necessary code * Refractor resolve_serializer * Remove un-necessary alias from imports * Add documentation * Refractor tests, improve documentation
* Updated job.result docs.Selwin Ong2020-02-251-6/+2
|
* fix code tag in connections.md (#1189)Ryan Febriansyah2020-02-252-2/+2
| | | | | | * Update connections.md * Update testing.md
* Show job scheduling section on docs websiteSelwin Ong2020-02-121-0/+2
|
* Fix typos in job_registries.md (#1185)Levin Rickert2020-02-031-3/+3
|
* Job scheduling (#1163)Selwin Ong2020-01-042-1/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add example for unix:// (#1171)goldstar6112019-12-181-1/+1
|
* Added a note to indicate that `registry.remove(job, delete_job=True)` is newSelwin Ong2019-11-261-0/+2
|
* Added `delete_job` argument to registry.remove()` (#1161)Selwin Ong2019-11-231-4/+30
|
* add doc page for job registries (#1140)joncros2019-10-082-0/+47
| | | | | | | | * add doc page for job registries * Use consistent language in registry type descriptions * Correct usage of 'connection' parameter in Job Registry doc
* Edit jobs doc for clarity (#1136)joncros2019-09-211-13/+101
| | | | | | * add section "Job Creation" to jobs doc * edit jobs doc for clarity
* Updated ttl argument docsSelwin Ong2019-09-081-2/+2
|
* docs/jobs: Fix minor typo (#1128)William Woodruff2019-09-081-1/+1
|
* Update worker document for setproctitle feature (#1109)Joe2019-06-161-1/+7
| | | | | | | | * Replace procname with setproctitle * Document process title feature * Fix typo
* add the ability to have the worker stop executing after a max amount of jobs ↵Paul Robertson2019-06-121-0/+1
| | | | | | | | | | (#1094) * add the ability to have the worker stop executing after a max amount of jobs * rename to max-jobs * updated logging messages
* Update index.md (#1089)Christopher Pickering2019-05-181-0/+1
| | | added "import time"
* Fix usage example of queue.enqueue() (#1082)Ted Summer2019-05-071-1/+1
| | | | | | * Fix usage example of queue.enqueue() * Refactor enqueue example
* Updated leftover references to FailedQueueSelwin Ong2019-05-071-10/+10
|
* Fix docs on job attributes (#1083)Ted Summer2019-05-071-1/+1
|
* Clarify the use of "args" and "kwargs" in queue.enqueue()Selwin Ong2019-04-141-7/+12
|
* Updated docs to change "normal" to "default"Selwin Ong2019-04-141-6/+6
|
* Updated docs to change "normal" to "default"Selwin Ong2019-04-141-2/+2
|
* Implemented Job.fetch_many (#1072)Selwin Ong2019-04-142-1/+10
|
* Give better titles to documentation pages (#1064)Mike Lissner2019-04-094-4/+4
| | | | | | | | | | * Fix title on workers page * Fix jobs title * Fix results title * Fix title on overview page
* Updated systemd docsSelwin Ong2019-04-071-3/+6
|
* Added systemd exampleSelwin Ong2019-04-073-1/+42
|
* Added docs about running workers in productionSelwin Ong2019-04-071-0/+3
|
* Updated RQ docsSelwin Ong2019-04-061-7/+11
|
* Variable name mismatch (#1063)SSINGH2019-04-061-1/+1
| | | Should be `redis = Redis()`
* RQ v1.0! (#1059)Selwin Ong2019-03-306-108/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Delete .DS_Store (#1043)William Setzer2019-02-231-0/+0
| | | Remove OSX artifact from repo.
* Added anchor.js to docsSelwin Ong2019-02-051-0/+7
|
* Changed docs to use Github compatible code block markupSelwin Ong2019-01-238-98/+94
|
* Fixed CSS styles for code blocks.Selwin Ong2019-01-231-1/+1
|
* Try out an alternate way to indicate code blocks in docsSelwin Ong2019-01-231-3/+2
|
* Update/add flag for description logging (#991)Finnci2019-01-221-1/+1
| | | | | | | | | | | | * test workers * indent * add docs and add option to the cli * rename flag for cli * logging
* Updated requirements.txt on Heroku docsSelwin Ong2018-12-111-2/+2
|
* modify zadd calls for redis-py 3.0 (#1016)Darshan Rai2018-12-031-1/+1
| | | | | | | | | | | | | | | | | | | * modify zadd calls for redis-py 3.0 redis-py 3.0 changes the zadd interface that accepts a single mapping argument that is expected to be a dict. https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd * change FailedQueue.push_job_id to always push a str redis-py 3.0 does not attempt to cast values to str and is left to the user. * remove Redis connection patching Since in redis-py 3.0, Redis == StrictRedis class, we no longer need to patch _zadd and other methods. Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
* fix typo - change -> chance (#1012)Michael Abrahamsen2018-11-141-1/+1
|
* Document Job.fetch() and job attributes.Selwin Ong2018-10-271-2/+25
|
* Pass job_id to death penalty class (#936)John Stowers2018-10-271-0/+10
| | | | | This allows custom workers to use associated custom Timeout classes and apply custom timeouts or less messy death methods
* support workder name override from config file (#947)Qingping Hou2018-10-201-0/+3
| | | | | | | | * support workder name override from config file * update docs for NAME config * Update workers.md
* added logging formatting options (#979)shikharsg2018-08-081-0/+2
| | | | | | | | * added logging formatting options * added docs for log formatting options * fixed naming format
* Change print statement to print function in docs (#985)Aly Sivji2018-08-082-9/+9
|
* Replace 'async' keyword with 'is_async' for Queue objects (#977)chevell2018-07-072-10/+10
| | | | | | | | | | * Replaced async keyword with is_async in the Queue class to fix reserved keyword syntax errors in Python 3.7 * Updated tests to use is_async keyword when instantiating Queue objects * Updated docs to reference is_async keyword for Queue objects * Updated tox.ini, setup.py and .travis.yml with references to Python 3.7
* Windows Clarification (#967)Patrick2018-06-271-1/+1
| | | You can use WSL and run RQ and Redis on Windows by running them in a bash shell within windows.
* Issue 872 (#954)Theofanis Despoudis2018-05-251-1/+2
| | | | | | | | * Fixes #872 - Use -1 to indicate infinite ttl * Fixes #872 Restored comma * #872 Code review fix
* Clarifying "timeout" argument in docsSelwin Ong2018-05-061-2/+2
|
* Fixes issue #934 - Documented Queue.delete (#951)Theofanis Despoudis2018-04-251-0/+5
| | | | | | | | * Fixes issue #934 - Documented Queue.delete Fixes issue #934 - Code review fix * Minor doc update