Skip to content

Commit

Permalink
Revert "Revert "docs: update default timeout from 3 seconds to 5 seco…
Browse files Browse the repository at this point in the history
…nds""

This reverts commit 36c8ee4.
  • Loading branch information
kooskoos20 committed Sep 16, 2024
1 parent 36c8ee4 commit fe465ec
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 fe465ec

Please sign in to comment.