This commit is contained in:
kooskoos20 2024-11-20 12:59:27 -08:00 committed by GitHub
commit f4302004e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ type Options struct {
DialTimeout time.Duration DialTimeout time.Duration
// Timeout for socket reads. If reached, commands will fail // Timeout for socket reads. If reached, commands will fail
// with a timeout instead of blocking. Supported values: // with a timeout instead of blocking. Supported values:
// - `0` - default timeout (3 seconds). // - `0` - default timeout (5 seconds).
// - `-1` - no timeout (block indefinitely). // - `-1` - no timeout (block indefinitely).
// - `-2` - disables SetReadDeadline calls completely. // - `-2` - disables SetReadDeadline calls completely.
ReadTimeout time.Duration ReadTimeout time.Duration