-
Notifications
You must be signed in to change notification settings - Fork 180
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
Is query_api() thread-safe? #429
Comments
Aha, I though urllib3 is not threadsafe, but it is. urllib is not. |
Hi @rojikada, thanks for using our client. The Regards |
Hi @rojikada - were you able to resolve your issue? If not, could you perhaps share some code that reproduces the issue that we can look at? Thanks! |
Hello, I currently don’t have any shareable code, however the main theme was: Apscheduler - multiple threads and all of them doing requests |
Hi @rojikada, I would be happy to continue digging in further, but having a reproducer of some sort will be required otherwise I am guessing at what you are doing :) Let me know if you could share something. Thanks! |
Hello, I don't work on this anymore and got it fixed with locks. But this is some basic example of the doing:
|
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Expected behavior:
I would expect influx to be thread-safe.
Actual behavior:
An error during read happend.
Specifications:
The text was updated successfully, but these errors were encountered: