Concurrency issue with `getPool()`
Closed this issue · 0 comments
roncli commented
If multiple processes call getPool()
at the same time, it can try to connect twice, resulting in one of the connections getting rejected. This function needs to be setup to guarantee that the function only runs one at a time.