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

Add locking around promql Visitors #268

Merged
merged 1 commit into from
Feb 21, 2020
Merged

Add locking around promql Visitors #268

merged 1 commit into from
Feb 21, 2020

Conversation

jacksontj
Copy link
Owner

Since the visitors are potentially run in parallel (due to the parallelism added in promql.Walk) we need to ensure we lock the structs to avoid data races

Since the visitors are potentially run in parallel (due to the parallelism added in promql.Walk) we need to ensure we lock the structs to avoid data races

Fixes #267
@jacksontj jacksontj merged commit dc00705 into master Feb 21, 2020
@jacksontj jacksontj deleted the issue_267 branch February 21, 2020 16:16
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.

1 participant