From 85b4dbfe1539f4d164769c2ad757f3f812a1fa6f Mon Sep 17 00:00:00 2001 From: Omkar Birade Date: Mon, 16 Sep 2024 22:37:00 +0200 Subject: [PATCH 1/3] docs: update default timeout from 3 seconds to 5 seconds --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 8ba74ccd1..239c37058 100644 --- a/options.go +++ b/options.go @@ -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 From 36c8ee43d434987a224b400628914fd9939629cb Mon Sep 17 00:00:00 2001 From: Omkar Birade Date: Mon, 16 Sep 2024 22:55:09 +0200 Subject: [PATCH 2/3] Revert "docs: update default timeout from 3 seconds to 5 seconds" This reverts commit 85b4dbfe1539f4d164769c2ad757f3f812a1fa6f. --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 239c37058..8ba74ccd1 100644 --- a/options.go +++ b/options.go @@ -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 (5 seconds). + // - `0` - default timeout (3 seconds). // - `-1` - no timeout (block indefinitely). // - `-2` - disables SetReadDeadline calls completely. ReadTimeout time.Duration From fe465ecd546971d1f7178c5d21517c97da474044 Mon Sep 17 00:00:00 2001 From: Omkar Birade Date: Mon, 16 Sep 2024 23:24:49 +0200 Subject: [PATCH 3/3] Revert "Revert "docs: update default timeout from 3 seconds to 5 seconds"" This reverts commit 36c8ee43d434987a224b400628914fd9939629cb. --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 8ba74ccd1..239c37058 100644 --- a/options.go +++ b/options.go @@ -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