You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Not sure if this is the correct forum... if not I apologize upfront.
We are looking to use this api and are wanting to understand a couple of points:
is it thread safe?
the examples show creating an instance with every lookup. We are looking to use consul as an endpoint locator and could have a high volume of requests. Should we pool client connections? use one? or create a new one everytime. Our assumption is the consul agent is local to our app as well.
The text was updated successfully, but these errors were encountered:
I can't totally vouch for thread safety of the entire code base but in general you should be OK. there is very little mutable internal state, and the request/response model objects are immutable.
Not sure if this is the correct forum... if not I apologize upfront.
We are looking to use this api and are wanting to understand a couple of points:
The text was updated successfully, but these errors were encountered: