From 26403b020546e18e00371304933f25022184dabf Mon Sep 17 00:00:00 2001 From: Sakala Venkata Krishna Rohit Date: Wed, 22 Apr 2020 15:25:44 +0530 Subject: [PATCH] Increase ctx timeout default value to 300 sec --- pkg/cmd/ctx_timeout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/ctx_timeout.go b/pkg/cmd/ctx_timeout.go index db98c7c..fd90e2d 100644 --- a/pkg/cmd/ctx_timeout.go +++ b/pkg/cmd/ctx_timeout.go @@ -17,7 +17,7 @@ func CtxTimeOut(cfg *config.Config) { // CtxTimeOutFlags adds to viper flags func CtxTimeOutFlags(pf *flag.FlagSet, argToEnv map[string]string) { - pf.Int("ctx-timeout", 30, "context timeout for each k8s API request in seconds") + pf.Int("ctx-timeout", 300, "context timeout for each k8s API request in seconds") viper.BindPFlag("ctx-timeout", pf.Lookup("ctx-timeout")) argToEnv["ctx-timeout"] = "CTX_TIMEOUT" }