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

Handle disconnection / reconnection #125

Merged
merged 4 commits into from
May 29, 2020
Merged

Conversation

ogaca-dd
Copy link
Contributor

If the DogStatsd server is stopped for a moment and then restarted, DogStatsd client cannot send new metrics.
This PR fixes this issue by using a not connected socket mode and by properly handle the exceptions.

Note: It start to be interesting to have an exception handler. It going to be added in a separate PR.

@ogaca-dd ogaca-dd merged commit bba9164 into master May 29, 2020
@ogaca-dd ogaca-dd deleted the olivierg/FixDisconnection branch May 29, 2020 07:15
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.

2 participants