level 4: redis cache etc

This commit is contained in:
2026-10-26 17:50:20 +03:00
parent 9d3de3b2d9
commit 175a8d8bfd
14 changed files with 686 additions and 78 deletions
+1
View File
@@ -21,6 +21,7 @@ async def open_pool(database_url: str) -> asyncpg.Pool:
max_size=10,
timeout=5,
command_timeout=5,
server_settings={'statement_timeout': '5000'},
)
async with pool.acquire() as conn:
await conn.execute('SELECT 1')