Open ethendev opened 5 years ago
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.
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.