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

uds: implement a connect timeout option #299

Merged
merged 6 commits into from Jan 17, 2024
Merged

Conversation

iksaif
Copy link
Contributor

@iksaif iksaif commented Jan 2, 2024

This is similar to DataDog/java-dogstatsd-client#228

The idea is to protect the client from starved connections (due to listener bugs) and reinitialise the connection as needed.

@iksaif iksaif requested a review from a team as a code owner January 2, 2024 10:52
@iksaif
Copy link
Contributor Author

iksaif commented Jan 2, 2024

The failing test has been flaky for a while :/

statsd/uds.go Show resolved Hide resolved
statsd/uds.go Show resolved Hide resolved
statsd/uds.go Show resolved Hide resolved
statsd/uds_test.go Outdated Show resolved Hide resolved
statsd/uds_test.go Show resolved Hide resolved
statsd/uds_test.go Outdated Show resolved Hide resolved
iksaif and others added 5 commits January 17, 2024 09:45
Co-authored-by: Vickenty Fesunov <vickenty@users.noreply.github.com>
Co-authored-by: Vickenty Fesunov <vickenty@users.noreply.github.com>
Co-authored-by: Vickenty Fesunov <vickenty@users.noreply.github.com>
@iksaif iksaif merged commit 79c24ea into master Jan 17, 2024
38 checks passed
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.

None yet

2 participants