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

change DruidJerseyClient to thread-safe #97

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ethendev
Copy link

The connect() and close() methods in DruidJerseyClient class are not thread-safe, the query() method may throw an exception in a multi-threaded environment.
截图

I modified client with ThreadLocal, which is thread-safe in a multithreaded environment.

@ethendev ethendev changed the title DruidJerseyClient is not thread-safe change DruidJerseyClient to thread-safe Jun 10, 2019
@abhi-zapr abhi-zapr requested a review from GG-Zapr June 15, 2019 17:10
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