Skip to content

Commit

Permalink
adjust tunnel timeout and retry timeout (#28)
Browse files Browse the repository at this point in the history
* fix stream record marshal error

* adjust tunnel timeout and retry timeout
  • Loading branch information
zhoucan1990 authored and danielxiaoran committed Jan 16, 2019
1 parent 3aed6e2 commit 3b84262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tunnel/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ var (
)

var DefaultTunnelConfig = &TunnelConfig{
MaxRetryElapsedTime: 45 * time.Second,
RequestTimeout: 30 * time.Second,
MaxRetryElapsedTime: 75 * time.Second,
RequestTimeout: 60 * time.Second,
Transport: http.DefaultTransport,
}

Expand Down

0 comments on commit 3b84262

Please sign in to comment.