Skip to content

Commit 1b64ef2

Browse files
committed
5 hrs
1 parent a813297 commit 1b64ef2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/control/control.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func NewCommand() *cobra.Command {
5454
cmd.PersistentFlags().StringVar(&logDir, "log-dir", "", "log directory")
5555
cmd.PersistentFlags().StringVar(&endpoint, "endpoint", "localhost:8080", "server endpoint")
5656
cmd.PersistentFlags().DurationVar(&dialTimeout, "dial-timeout", 10*time.Second, "server dial timeout")
57-
cmd.PersistentFlags().DurationVar(&requestTimeout, "request-timeout", 120*time.Minute, "client request timeout")
57+
cmd.PersistentFlags().DurationVar(&requestTimeout, "request-timeout", 300*time.Minute, "client request timeout")
5858

5959
cmd.AddCommand(
6060
newRPCVersionCommand(),

server/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ const (
4949
DefaultNodes uint32 = 5
5050

5151
stopTimeout = 30 * time.Second
52-
defaultStartTimeout = 120 * time.Minute
53-
waitForHealthyTimeout = 120 * time.Minute
52+
defaultStartTimeout = 300 * time.Minute
53+
waitForHealthyTimeout = 300 * time.Minute
5454

5555
networkRootDirPrefix = "network"
5656
TimeParseLayout = "2006-01-02 15:04:05"

0 commit comments

Comments
 (0)