Skip to content

Commit

Permalink
Merge pull request #415 from kobrineli/fix-client-read-timeout
Browse files Browse the repository at this point in the history
Fix client default read timeout setting
  • Loading branch information
ernado authored Aug 16, 2024
2 parents c3745f6 + 41135bf commit 64c5859
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,6 @@ func (o *Options) setDefaults() {
if o.ReadTimeout == 0 {
o.ReadTimeout = DefaultReadTimeout
}
if o.ReadTimeout < 0 || o.ReadTimeout == NoTimeout {
o.ReadTimeout = 0
}
}

type clientVersion struct {
Expand Down

0 comments on commit 64c5859

Please sign in to comment.