Skip to content

Commit

Permalink
move default timeout values
Browse files Browse the repository at this point in the history
  • Loading branch information
ketsiambaku committed Mar 12, 2024
1 parent 49c8ae2 commit 580c1de
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions client/matching/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ package matching

import (
"context"
"time"

"go.uber.org/yarpc"

"github.com/uber/cadence/common/future"
Expand All @@ -33,13 +31,6 @@ import (

var _ Client = (*clientImpl)(nil)

const (
// DefaultTimeout is the default timeout used to make calls
DefaultTimeout = time.Minute
// DefaultLongPollTimeout is the long poll default timeout used to make calls
DefaultLongPollTimeout = time.Minute * 2
)

type clientImpl struct {
client Client
peerResolver PeerResolver
Expand Down

0 comments on commit 580c1de

Please sign in to comment.