mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 15:15:36 +01:00
Reduce postgres connections pool
This commit is contained in:
@@ -12,4 +12,4 @@ DATABASE_URL = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
metadata = MetaData()
|
metadata = MetaData()
|
||||||
database = Database(DATABASE_URL)
|
database = Database(DATABASE_URL, min_size=2, max_size=10)
|
||||||
|
|||||||
Reference in New Issue
Block a user