Fix: Properly call the function
This commit is contained in:
@@ -48,7 +48,7 @@ def get_connection_pool():
|
|||||||
global _connection_pool
|
global _connection_pool
|
||||||
with _pool_lock:
|
with _pool_lock:
|
||||||
if _connection_pool is None:
|
if _connection_pool is None:
|
||||||
create_connection_pool
|
create_connection_pool()
|
||||||
return _connection_pool
|
return _connection_pool
|
||||||
|
|
||||||
def get_db():
|
def get_db():
|
||||||
|
|||||||
Reference in New Issue
Block a user