File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ Brokers parameters:
7171* ` result_backend ` - custom result backend.
7272* ` queue_name ` - name of the pub/sub channel in redis.
7373* ` max_connection_pool_size ` - maximum number of connections in pool.
74+ * Any other keyword arguments are passed to ` redis.asyncio.BlockingConnectionPool ` .
75+ Notably, you can use ` timeout ` to set custom timeout in seconds for reconnects
76+ (or set it to ` None ` to try reconnects indefinitely).
7477
7578## RedisAsyncResultBackend configuration
7679
@@ -79,6 +82,9 @@ RedisAsyncResultBackend parameters:
7982* ` keep_results ` - flag to not remove results from Redis after reading.
8083* ` result_ex_time ` - expire time in seconds (by default - not specified)
8184* ` result_px_time ` - expire time in milliseconds (by default - not specified)
85+ * Any other keyword arguments are passed to ` redis.asyncio.BlockingConnectionPool ` .
86+ Notably, you can use ` timeout ` to set custom timeout in seconds for reconnects
87+ (or set it to ` None ` to try reconnects indefinitely).
8288> IMPORTANT: ** It is highly recommended to use expire time in RedisAsyncResultBackend**
8389> If you want to add expiration, either ` result_ex_time ` or ` result_px_time ` must be set.
8490> ``` python
You can’t perform that action at this time.
0 commit comments