diff --git a/cmd/root.go b/cmd/root.go index 8842f358d32709b16e662fa9ea0ed2c64e717b5a..a64f66eb1b18fdd5388a69b17a93789918cd70ba 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -132,7 +132,7 @@ var rootCmd = &cobra.Command{ } // Wait until connected or crash on timeout - connected := make(chan bool, 1) + connected := make(chan bool, 10) client.GetHealth().AddChannel(connected) waitTimeout := time.Duration(viper.GetUint("waitTimeout")) timeoutTimer := time.NewTimer(waitTimeout * time.Second)