Skip to content

Conversation

stapelberg
Copy link
Contributor

From what I can see, both Client and QueryAPI are safe for use from multiple goroutines as they don’t modify any state. Let’s document this so that others don’t need to review the source as well :).

@beorn7
Copy link
Member

beorn7 commented Aug 1, 2016

Totally for documenting goroutine safety. But to make the call here, we need @fabxc .

@fabxc
Copy link
Contributor

fabxc commented Aug 2, 2016

Thanks 👍

@fabxc fabxc merged commit 52437c8 into prometheus:master Aug 2, 2016
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.

3 participants