-
Notifications
You must be signed in to change notification settings - Fork 187
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
ThreadPoolExecutor alway alive after close batching API and database client #640
Comments
Hello @Dev-HexoTech, Thank you for using our client and for bringing this issue to our attention. Your feedback is valuable to us. We are prioritizing a review of the matter you've reported and will take a closer look at it as soon as possible. Please stay tuned for updates as we work to understand and address the issue. If you have any more information or further insights that could help in our investigation, please feel free to share. Regards |
Hello, Following up on the issue you reported regarding the incorrect disposal of To ensure that this solution effectively resolves the issue you encountered, we kindly ask if you could verify the fix on your end. You can do so by installing the development version of the client that includes this update. Here's the command to install it: pip install git+https://github.com/influxdata/influxdb-client-python.git@fix-scheduler This will allow you to test the changes directly. Your feedback on whether this update addresses the problem as expected would be highly valuable to us. Thank you very much for your assistance and for helping us improve the quality of our client. Best regards. |
Hello, Thanks for this fix, but I have a little side effect. The ThreadPoolExecutor is not close after the call of the close method. So wee need to have an arbitrary sleep to wait the close of the thread. We can see that in my code example. After the stop, the ThreadPoolExecutor is still hir but after the sleep of 5s, the thread is close Thanks |
Specifications
Code sample to reproduce problem
Expected behavior
When we close the batching API, associated threads are closed
Actual behavior
When we close the batching API, the associated thread ThreadPoolExecutor is alway alive
Additional info
My output
The text was updated successfully, but these errors were encountered: