Skip to content

Commit

Permalink
Reduce the default connection timeout value
Browse files Browse the repository at this point in the history
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 <mrunalp@gmail.com>
  • Loading branch information
mrunalp committed Jan 23, 2019
1 parent 9fcc1d1 commit f9bb11c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crictl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
)

const (
defaultTimeout = 10 * time.Second
defaultTimeout = 2 * time.Second
)

var (
Expand Down

0 comments on commit f9bb11c

Please sign in to comment.