use defaultRetryTimer
@@ -139,7 +139,7 @@ func init() {
rootCmd.PersistentFlags().IntP("max-msg-size", "", msgSize, "max grpc msg size")
rootCmd.PersistentFlags().StringP("prometheus-address", "", "", "prometheus server address")
rootCmd.PersistentFlags().BoolP("print-request", "", false, "print request as well as the response(s)")
- rootCmd.PersistentFlags().DurationP("retry", "", 10*time.Second, "retry timer for RPCs")
+ rootCmd.PersistentFlags().DurationP("retry", "", defaultRetryTimer, "retry timer for RPCs")
//
viper.BindPFlag("address", rootCmd.PersistentFlags().Lookup("address"))
viper.BindPFlag("username", rootCmd.PersistentFlags().Lookup("username"))
