This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
Connection leak with StreamingResponse #34
Open
Description
When we use streaming responses in Django, or the static MEDIA (static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
in url patterns) serving in development mode, the "request_finished" signal is never sent at the end of the request.
Django uses this signal to clean up db connections and return them to the pool, which means these connections leak.
Metadata
Metadata
Assignees
Labels
No labels