mirror of https://github.com/peter4431/rq.git
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.
54254f2271
This patches the connection object (which is either a StrictRedis instance or a Redis instance), to have alternative class methods that behave exactly like their StrictRedis counterparts, no matter whether which type the object is. Only the ambiguous methods are patched. The exhaustive list: - _zadd (fixes argument order) - _lrem (fixes argument order) - _setex (fixes argument order) - _pipeline (always returns a StrictPipeline) - _ttl (fixes return value) - _pttl (fixes return value) This makes it possible to call the methods reliably without polluting the RQ code any further. |
12 years ago | |
---|---|---|
.. | ||
__init__.py | 12 years ago | |
dummy_settings.py | 12 years ago | |
fixtures.py | 12 years ago | |
helpers.py | 13 years ago | |
test_connection.py | 13 years ago | |
test_decorator.py | 12 years ago | |
test_job.py | 12 years ago | |
test_queue.py | 13 years ago | |
test_scripts.py | 12 years ago | |
test_worker.py | 12 years ago |