Changes between Version 1 and Version 2 of Ticket #33497, comment 3
- Timestamp:
- Feb 8, 2022, 2:11:43 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33497, comment 3
v1 v2 1 1 Thanks for the report. Django has a [https://github.com/django/django/blob/f0480ddd2d3cb04b784cf7ea697f792b45c689cc/django/db/__init__.py#L34-L42 routine] to clean up old connections that is tied into the request-response life-cycle, so idle connections should be closed. However, I don't think you've explained the issue in enough detail to confirm a bug in Django. This can be an issue in `psycopg2`, `uvicorn`, or in custom middlewares (see #31905) it's hard to say without a reproduce. 2 2 3 Please reopen the ticket if you can debug your issue and provide details about why and where Django is at fault, or if can provide a sample project with reproducible scenario.3 Please reopen the ticket if you can debug your issue and provide details about why and where Django is at fault, or if you can provide a sample project with reproducible scenario.