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
When I am getting and closing DB connection (psycopg2) in the processes of billiard Pool, I found that getting and closing of DB connection will fail. Is there any way that I can add some lock to the getting and closing methods such that the race condition problem can be avoid?
In multiprocessing, a Lock object is provided. I wonder if there are something similar in billiard.
Hi,
When I am getting and closing DB connection (psycopg2) in the processes of billiard Pool, I found that getting and closing of DB connection will fail. Is there any way that I can add some
lock
to the getting and closing methods such that the race condition problem can be avoid?In multiprocessing, a Lock object is provided. I wonder if there are something similar in billiard.
The text was updated successfully, but these errors were encountered: