-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Try to close HTTP connections and wait for completion on output reload/close #10599
Conversation
@@ -725,8 +739,15 @@ func (conn *Connection) Ping() (string, error) { | |||
return response.Version.Number, nil | |||
} | |||
|
|||
func (client *Client) Close() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported method Client.Close should have comment or be unexported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I have tested it with my case in #10567
2eb1aa9
to
bf963ba
Compare
I will take another look at this. |
@ph I think this is still an issue affecting the Agent we have to solve, right? |
Yes this is still an issue, let me remove myself and assign the beats team. |
I guess we could either merge this or wait for bigger refactoring? |
No description provided.