feat: buffer
This commit is contained in:
@@ -15,6 +15,13 @@ database_url = (
|
||||
f"{PG_LOGIN}:{PG_PASSWORD}@"
|
||||
f"/{PG_DATABASE}?host=/run/postgresql/"
|
||||
)
|
||||
|
||||
# database_url = (
|
||||
# f"postgresql+asyncpg://"
|
||||
# f"{PG_LOGIN}:{PG_PASSWORD}@"
|
||||
# f"{PG_HOST}:{PG_PORT}/{PG_DATABASE}"
|
||||
# )
|
||||
|
||||
engine = create_async_engine(
|
||||
database_url,
|
||||
pool_timeout=2000
|
||||
|
||||
Reference in New Issue
Block a user