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

Fix race condition setting end time for discovery jobs. #438

Merged
merged 1 commit into from
Sep 6, 2021
Merged

Fix race condition setting end time for discovery jobs. #438

merged 1 commit into from
Sep 6, 2021

Conversation

cristiangreco
Copy link
Collaborator

This fixes a data race happening when goroutines calling GetMetricData
attempt to update the endtime variable.

This fixes a data race happening when goroutines calling GetMetricData
attempt to update the `endtime` variable.
@thomaspeitz thomaspeitz merged commit bf5dfe7 into nerdswords:master Sep 6, 2021
@thomaspeitz
Copy link
Contributor

Thanks a lot!

@cristiangreco cristiangreco deleted the cristian/scrape-discovery-race branch September 6, 2021 10:45
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