Skip to content

Commit

Permalink
docs: update default timeout from 3 seconds to 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
kooskoos20 committed Sep 16, 2024
1 parent 233f97a commit 85b4dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Options struct {
DialTimeout time.Duration
// Timeout for socket reads. If reached, commands will fail
// with a timeout instead of blocking. Supported values:
// - `0` - default timeout (3 seconds).
// - `0` - default timeout (5 seconds).
// - `-1` - no timeout (block indefinitely).
// - `-2` - disables SetReadDeadline calls completely.
ReadTimeout time.Duration
Expand Down

0 comments on commit 85b4dbf

Please sign in to comment.