fmt
All checks were successful
Deploy on push / deploy (push) Successful in 1m9s

This commit is contained in:
2024-08-06 14:34:12 +03:00
parent 385c8ce04b
commit c576fc0241
3 changed files with 10 additions and 9 deletions

View File

@@ -17,7 +17,8 @@ from settings import DB_URL
# Подключение к базе данных SQLAlchemy
engine = create_engine(DB_URL,
engine = create_engine(
DB_URL,
echo=False,
pool_size=10,
max_overflow=20,

View File

@@ -18,11 +18,7 @@ def start_sentry():
# We recommend adjusting this value in production.
profiles_sample_rate=1.0,
enable_tracing=True,
integrations=[
StarletteIntegration(),
AriadneIntegration(),
SqlalchemyIntegration()
],
integrations=[StarletteIntegration(), AriadneIntegration(), SqlalchemyIntegration()],
)
except Exception as e:
print("[services.sentry] init error")