File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,9 @@ Brokers parameters:
71
71
* ` result_backend ` - custom result backend.
72
72
* ` queue_name ` - name of the pub/sub channel in redis.
73
73
* ` 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).
74
77
75
78
## RedisAsyncResultBackend configuration
76
79
@@ -79,6 +82,9 @@ RedisAsyncResultBackend parameters:
79
82
* ` keep_results ` - flag to not remove results from Redis after reading.
80
83
* ` result_ex_time ` - expire time in seconds (by default - not specified)
81
84
* ` 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).
82
88
> IMPORTANT: ** It is highly recommended to use expire time in RedisAsyncResultBackend**
83
89
> If you want to add expiration, either ` result_ex_time ` or ` result_px_time ` must be set.
84
90
> ``` python
You can’t perform that action at this time.
0 commit comments