Skip to content

Conversation

@erikdubbelboer
Copy link
Collaborator

The current Timeout/Deadline methods starting a new goroutine is
something most users don't seem to understand. They also don't get the
performance implications of using this vs setting a
ReadTimeout/WriteTimeout.

Setting A ReadTimeout/WriteTimeout is always better. Maybe we shoud
deprecate the old methods.

The current Timeout/Deadline methods starting a new goroutine is
something most users don't seem to understand. They also don't get the
performance implications of using this vs setting a
ReadTimeout/WriteTimeout.

Setting A ReadTimeout/WriteTimeout is always better. Maybe we shoud
deprecate the old methods.
@erikdubbelboer
Copy link
Collaborator Author

@kirillDanshin @valyala what do you think of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants