Skip to content

Commit f791f9b

Browse files
authored
Merge pull request #5015 from atrauzzi/redis-read-timeout-correction
Amend read timeout value to align with code
2 parents 528f327 + 316cbb9 commit f791f9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
5858
| redisMinRetryInterval | N | Minimum backoff for redis commands between each retry. Default is `"8ms"`; `"-1"` disables backoff. | `"8ms"`
5959
| redisMaxRetryInterval | N | Maximum backoff for redis commands between each retry. Default is `"512ms"`;`"-1"` disables backoff. | `"5s"`
6060
| dialTimeout | N | Dial timeout for establishing new connections. Defaults to `"5s"`. | `"5s"`
61-
| readTimeout | N | Timeout for socket reads. If reached, redis commands will fail with a timeout instead of blocking. Defaults to `"3s"`, `"-1"` for no timeout. | `"3s"`
61+
| readTimeout | N | Timeout for socket reads, if set to `"0s"`, the read will be blocking. If reached, redis commands will fail with a timeout instead of blocking. Defaults to `"0s"`, `"-1"` for no timeout. | `"3s"`
6262
| writeTimeout | N | Timeout for socket writes. If reached, redis commands will fail with a timeout instead of blocking. Defaults is readTimeout. | `"3s"`
6363
| poolSize | N | Maximum number of socket connections. Default is 10 connections per every CPU as reported by runtime.NumCPU. | `"20"`
6464
| poolTimeout | N | Amount of time client waits for a connection if all connections are busy before returning an error. Default is readTimeout + 1 second. | `"5s"`

0 commit comments

Comments
 (0)