You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lowercase00 654649743c
New dequeue strategy (#1806)
* New dequeue strategy

This implements a new parameter `dequeue_strategy` that
should replace the `RoundRobinWorker` and `RandomWorker`.
Changes includes: feature, docs, tests, deprecation warning.

* Fix dequeue strategy name

* Black & Fix warning

* feat: tests, warnings, refactor naming

* feat: improve worker check

* fix: revert to str subclass

* fix: dequeue strategy into bootstrap

* org: move DequeueStrategy to worker

* refactor: round robin naming

* fix: naming

* fix: type annotation

* fix: typo

* refactor: remove kwarg from worker's init

* fix: typo

* move `dequeue_strategy` from `bootstrap()` into `work()`
2 years ago
..
config_files Drop python2-specific syntax (#1674) 2 years ago
ssl_config Fix RQScheduler when run with SSL connection (#1383) 4 years ago
Dockerfile Typing (#1698) 2 years ago
__init__.py Multiple results using Redis Streams (#1725) 2 years ago
fixtures.py Remove compatibility layer for < 3.5 (#1761) 2 years ago
test.json Allows enqueueing by the cli (#1466) 3 years ago
test_callbacks.py Use job.return_value() instead of job.result when processing callbacks (#1801) 2 years ago
test_cli.py New dequeue strategy (#1806) 2 years ago
test_commands.py Make test_commands pass on MacOS (#1735) 2 years ago
test_connection.py Drop python2-specific syntax (#1674) 2 years ago
test_decorator.py Improve the lint situation (#1688) 2 years ago
test_dependencies.py fix: Dependency list in depends_on (#1843) 2 years ago
test_fixtures.py Drop python2-specific syntax (#1674) 2 years ago
test_helpers.py Restored the ability to specify connection params in config 10 years ago
test_job.py Sync jobs should save job exceptions and results (#1799) 2 years ago
test_queue.py Improve the lint situation (#1688) 2 years ago
test_registry.py Add failure callback call to started job registry cleanup (#1824) 2 years ago
test_results.py fix: queue.result_ttl=-1 (#1819) 2 years ago
test_retry.py Make unstable tests more stable (#1523) 3 years ago
test_scheduler.py Add to worker redis record scheduler info (#1787) 2 years ago
test_sentry.py Drop python2-specific syntax (#1674) 2 years ago
test_serializers.py Drop python2-specific syntax (#1674) 2 years ago
test_timeouts.py Fix TimerDeathPenalty not properly handling negative/infinite timeout (#1845) 2 years ago
test_utils.py Cache redis version in the connection object (#1742) 2 years ago
test_worker.py New dequeue strategy (#1806) 2 years ago
test_worker_registration.py Use unittest.mock instead of mock (#1673) 2 years ago