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 c2e6d95338
Enhanced Redis Connection Reliability (#1753)
* Enhanced Redis Connection Reliability

The Redis connection may fail for several reasons. As the connection can be
(1) explicitly passed to the worker or (2) implicity set, this will improve the
Connection configuration by setting a timeout to the socket, and adding
an ExponentialBackoff Retry logic.

* Simpler Connection logic

* Add simple retry logic to Redis Connection Error

* Make retry exponential, add keepalive & socket_connect_timeout

* Handles configuration on Redis' connection pool

* Simplifies timeout exception logic

* Fix burst bug, add test

* Add docs related to `socket_timeout`, improve compatibility with older RedisPy versions

* Fixes

* New timeout private method

* Fix timeout
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 Revert "Jobs that are run synchronously should always raise an exception" (#1682) 2 years ago
test_cli.py Improve the lint situation (#1688) 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 Typing (#1698) 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 Remove compatibility layer for < 3.5 (#1761) 2 years ago
test_queue.py Improve the lint situation (#1688) 2 years ago
test_registry.py Remove compatibility layer for < 3.5 (#1761) 2 years ago
test_results.py Multiple results using Redis Streams (#1725) 2 years ago
test_retry.py Make unstable tests more stable (#1523) 3 years ago
test_scheduler.py Restart scheduler process if the process is not alive (#1764) 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 Cross platform simple worker (#1629) 3 years ago
test_utils.py Cache redis version in the connection object (#1742) 2 years ago
test_worker.py Enhanced Redis Connection Reliability (#1753) 2 years ago
test_worker_registration.py Use unittest.mock instead of mock (#1673) 2 years ago