From f9bb11cc0b3993a7078b98fa559bf93ac12155e5 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Wed, 23 Jan 2019 11:57:36 -0800 Subject: [PATCH] Reduce the default connection timeout value In interactive use, if user doesn't sudo or running as root then has to wait too long before getting a connection failure. Signed-off-by: Mrunal Patel --- cmd/crictl/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crictl/main.go b/cmd/crictl/main.go index 5419bca044..3cc3370246 100644 --- a/cmd/crictl/main.go +++ b/cmd/crictl/main.go @@ -33,7 +33,7 @@ import ( ) const ( - defaultTimeout = 10 * time.Second + defaultTimeout = 2 * time.Second ) var (