Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add read timeout #683

Merged
merged 3 commits into from
Nov 24, 2022
Merged

add read timeout #683

merged 3 commits into from
Nov 24, 2022

Conversation

svalaskevicius
Copy link
Contributor

Adds read timeout for socket reads.

A reason to add it within the library rather than timing out skunk calls - it also applies for the healthcheck queries.

@mpilquist
Copy link
Member

Thanks! Read and write socket timeouts were removed in #392. We could add read timeouts back if needed for health check queries though. Can we add some test coverage?

@svalaskevicius
Copy link
Contributor Author

@mpilquist yeah, I noticed that commit, and found no viable alternative means to recover the removed functionality - thus the PR :)

I've rebased on main now, and added a test - please can you have a look?

This was referenced Nov 24, 2022
@mpilquist mpilquist merged commit 2e7a7be into typelevel:main Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants