Compare commits

...

4 Commits

Author SHA1 Message Date
kooskoos20 f4302004e2
Merge fe465ecd54 into f1ffb55c9a 2024-11-20 12:59:27 -08:00
Omkar Birade fe465ecd54
Revert "Revert "docs: update default timeout from 3 seconds to 5 seconds""
This reverts commit 36c8ee43d4.
2024-09-16 23:24:49 +02:00
Omkar Birade 36c8ee43d4
Revert "docs: update default timeout from 3 seconds to 5 seconds"
This reverts commit 85b4dbfe15.
2024-09-16 22:55:09 +02:00
Omkar Birade 85b4dbfe15
docs: update default timeout from 3 seconds to 5 seconds 2024-09-16 22:37:00 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -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