diff --git a/cmd/control/control.go b/cmd/control/control.go index 43ed7916..a73b7eb0 100644 --- a/cmd/control/control.go +++ b/cmd/control/control.go @@ -54,7 +54,7 @@ func NewCommand() *cobra.Command { cmd.PersistentFlags().StringVar(&logDir, "log-dir", "", "log directory") cmd.PersistentFlags().StringVar(&endpoint, "endpoint", "localhost:8080", "server endpoint") cmd.PersistentFlags().DurationVar(&dialTimeout, "dial-timeout", 10*time.Second, "server dial timeout") - cmd.PersistentFlags().DurationVar(&requestTimeout, "request-timeout", 60*time.Minute, "client request timeout") + cmd.PersistentFlags().DurationVar(&requestTimeout, "request-timeout", 120*time.Minute, "client request timeout") cmd.AddCommand( newRPCVersionCommand(), diff --git a/server/server.go b/server/server.go index 3c1b6ff9..a19d850b 100644 --- a/server/server.go +++ b/server/server.go @@ -49,8 +49,8 @@ const ( DefaultNodes uint32 = 5 stopTimeout = 30 * time.Second - defaultStartTimeout = 60 * time.Minute - waitForHealthyTimeout = 60 * time.Minute + defaultStartTimeout = 120 * time.Minute + waitForHealthyTimeout = 120 * time.Minute networkRootDirPrefix = "network" TimeParseLayout = "2006-01-02 15:04:05"