Skip to content

Commit

Permalink
Update failover default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu authored Oct 9, 2020
1 parent 35afbd2 commit 9f58fc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions service/worker/failovermanager/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const (
failoverActivityName = "cadence-sys-failover-activity"
getDomainsActivityName = "cadence-sys-getDomains-activity"

defaultBatchFailoverSize = 10
defaultBatchFailoverWaitTimeInSeconds = 10
defaultBatchFailoverSize = 20
defaultBatchFailoverWaitTimeInSeconds = 30

errMsgParamsIsNil = "params is nil"
errMsgTargetClusterIsEmpty = "targetCluster is empty"
Expand Down
6 changes: 3 additions & 3 deletions tools/cli/adminFailoverCommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ import (

const (
defaultAbortReason = "Failover aborted through admin CLI"
defaultBatchFailoverSize = 10
defaultBatchFailoverWaitTimeInSeconds = 10
defaultFailoverTimeoutInSeconds = 600
defaultBatchFailoverSize = 20
defaultBatchFailoverWaitTimeInSeconds = 30
defaultFailoverTimeoutInSeconds = 1200
)

type startParams struct {
Expand Down

0 comments on commit 9f58fc4

Please sign in to comment.