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

cmd/scollect: Do not reuse haproxy stats connections. #914

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

alienth
Copy link
Contributor

@alienth alienth commented Apr 21, 2015

@alienth
Copy link
Contributor Author

alienth commented Apr 21, 2015

See also: golang/go#8946

@@ -73,6 +73,10 @@ func (instance *trackedInstance) fetchHAProxyData(md *opentsdb.MultiDataPoint, u
if err != nil {
return err
}
// Close connection after request. Default cached connections will get
// failures in the event of server closing idle connections.
// See https://code.google.com/p/go/issues/detail?id=4677
Copy link
Contributor

Choose a reason for hiding this comment

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

Change this link to https://github.com/golang/go/issues/4677

maddyblue added a commit that referenced this pull request Apr 21, 2015
cmd/scollect: Do not reuse haproxy stats connections.
@maddyblue maddyblue merged commit bd21d2f into bosun-monitor:master Apr 21, 2015
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