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

Go modules support and race condition fixes #60

Merged
merged 14 commits into from
Apr 10, 2019
Merged

Conversation

tonyalaribe
Copy link
Contributor

This PR was initially for go modules support and to fix a dependency's version (github.com/bshuster-repo/logrus-logstash-hook), but running go test -race ./... . showed roughly 4 cases of race conditions which i fixed as well.

The race conditions fix is a quick fix, but Ideally the Health Check handler should be rewritten to be more synchronous and stateless. Data should be passed around through channels instead of editing values in place and having to use locks to prevent write contention.

@tonyalaribe tonyalaribe merged commit 261e476 into master Apr 10, 2019
@tonyalaribe tonyalaribe deleted the go-modules-support branch April 10, 2019 16:01
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