Skip to content

Commit

Permalink
2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez committed Aug 19, 2024
1 parent 5304e9d commit 24d0384
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/control/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
4 changes: 2 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 24d0384

Please sign in to comment.