Skip to content

Commit

Permalink
types: fix, remove the read timeout override
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jan 10, 2022
1 parent 70dec09 commit b24d944
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/types/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ func (s *StandardStream) Dial(ctx context.Context, args ...string) (*websocket.C
return nil, err
}

readTimeout := 1 * time.Minute

// use the default ping handler
// The websocket server will send a ping frame every 3 minutes.
// If the websocket server does not receive a pong frame back from the connection within a 10 minutes period,
Expand Down

0 comments on commit b24d944

Please sign in to comment.