Skip to content

Commit

Permalink
Increase the retry initial interval on matching (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxing1292 authored Jun 27, 2018
1 parent d3e8f10 commit ca127f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ import (
farm "github.com/dgryski/go-farm"
"github.com/uber-common/bark"

"math/rand"

h "github.com/uber/cadence/.gen/go/history"
m "github.com/uber/cadence/.gen/go/matching"
workflow "github.com/uber/cadence/.gen/go/shared"
"github.com/uber/cadence/common/backoff"
"math/rand"
)

const (
Expand All @@ -50,7 +51,7 @@ const (
frontendServiceOperationMaxInterval = 5 * time.Second
frontendServiceOperationExpirationInterval = 15 * time.Second

matchingServiceOperationInitialInterval = 50 * time.Millisecond
matchingServiceOperationInitialInterval = 1000 * time.Millisecond
matchingServiceOperationMaxInterval = 10 * time.Second
matchingServiceOperationExpirationInterval = 30 * time.Second
)
Expand Down

0 comments on commit ca127f6

Please sign in to comment.