Fix: Properly call the function
This commit is contained in:
parent
ea59242370
commit
a211bd3156
@ -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():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user