Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDR: don't keep db connection open while ws is connected #567

Open
armanddidierjean opened this issue Sep 7, 2024 · 0 comments
Open

CDR: don't keep db connection open while ws is connected #567

armanddidierjean opened this issue Sep 7, 2024 · 0 comments
Labels
bug Something isn't working cdr

Comments

@armanddidierjean
Copy link
Member

Subject of the issue

Relalated to #530

The db connection can be closed after the token verification.

Keeping it open while the ws is connected may be the cause of database connection failures due to too many connections

db: AsyncSession = Depends(get_db),

@armanddidierjean armanddidierjean added bug Something isn't working cdr labels Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cdr
Projects
None yet
Development

No branches or pull requests

1 participant