redis 6.4.0__py3-none-any.whl → 7.0.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- redis/__init__.py +1 -1
- redis/_parsers/base.py +173 -8
- redis/_parsers/hiredis.py +16 -10
- redis/_parsers/resp3.py +11 -5
- redis/asyncio/client.py +45 -2
- redis/asyncio/cluster.py +46 -3
- redis/cache.py +1 -0
- redis/client.py +68 -13
- redis/cluster.py +3 -2
- redis/commands/core.py +285 -285
- redis/commands/helpers.py +0 -20
- redis/commands/search/query.py +12 -12
- redis/commands/vectorset/__init__.py +1 -1
- redis/commands/vectorset/commands.py +43 -25
- redis/commands/vectorset/utils.py +40 -4
- redis/connection.py +828 -59
- redis/maintenance_events.py +785 -0
- {redis-6.4.0.dist-info → redis-7.0.0b1.dist-info}/METADATA +1 -1
- {redis-6.4.0.dist-info → redis-7.0.0b1.dist-info}/RECORD +21 -20
- {redis-6.4.0.dist-info → redis-7.0.0b1.dist-info}/WHEEL +0 -0
- {redis-6.4.0.dist-info → redis-7.0.0b1.dist-info}/licenses/LICENSE +0 -0
redis/cluster.py
CHANGED
|
@@ -170,6 +170,7 @@ REDIS_ALLOWED_KEYS = (
|
|
|
170
170
|
"redis_connect_func",
|
|
171
171
|
"password",
|
|
172
172
|
"port",
|
|
173
|
+
"timeout",
|
|
173
174
|
"queue_class",
|
|
174
175
|
"retry",
|
|
175
176
|
"retry_on_timeout",
|
|
@@ -2716,8 +2717,8 @@ class PipelineStrategy(AbstractStrategy):
|
|
|
2716
2717
|
|
|
2717
2718
|
If one of the retryable exceptions has been thrown we assume that:
|
|
2718
2719
|
- connection_pool was disconnected
|
|
2719
|
-
- connection_pool was
|
|
2720
|
-
-
|
|
2720
|
+
- connection_pool was reset
|
|
2721
|
+
- refresh_table_asap set to True
|
|
2721
2722
|
|
|
2722
2723
|
It will try the number of times specified by
|
|
2723
2724
|
the retries in config option "self.retry"
|