Skip to content

Retry first before losing message when receiving ENOTCONN#104

Merged
gmmeyer merged 2 commits intoDataDog:masterfrom
blaines:retry
Feb 4, 2019
Merged

Retry first before losing message when receiving ENOTCONN#104
gmmeyer merged 2 commits intoDataDog:masterfrom
blaines:retry

Conversation

@blaines
Copy link
Copy Markdown
Contributor

@blaines blaines commented Jan 23, 2019

I made another contribution in the context of the ENOTCONN error coming from our applications when we restart the Datadog agent. This new version attempts to retry before dropping a message.

Copy link
Copy Markdown

@Shadow6363 Shadow6363 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@blaines blaines changed the title Remove old ENOTCONN logic, Update Tests Retry first before losing message when receiving ENOTCONN Jan 23, 2019
@blaines
Copy link
Copy Markdown
Contributor Author

blaines commented Jan 29, 2019

@gmmeyer I improved on the last PR of mine you looked at. This one makes an attempt to retry the message before dropping it.

Copy link
Copy Markdown
Contributor

@gmmeyer gmmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@gmmeyer gmmeyer merged commit b3374d4 into DataDog:master Feb 4, 2019
@blaines
Copy link
Copy Markdown
Contributor Author

blaines commented Feb 4, 2019

Thanks will a new version be built and sent to rubygems?

@masci masci added this to the 4.1.0 milestone Mar 8, 2019
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.

4 participants