#36700: ASGIHandler creates reference cycles that require a gc pass to free
-------------------------------------+-------------------------------------
Reporter: Patryk Zawadzki | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: HTTP handling | Version: 5.2
Severity: Normal | Resolution:
Keywords: memory asgihandler | Triage Stage: Accepted
gc |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Carlton Gibson):
Hi Patryk, this seems plausible, yes. Thanks for the report.
See also #36315 — which is to use TaskGroup here. There's two related PRs
there: [https://github.com/django/django/pull/19366 gh19366] and
[https://github.com/django/django/pull/19370 gh19370]. If you could have a
look at those, it may be that that's the better way forward. (They're on
my list to look at this cycle, but your eyes would be welcome. 🤹)
--
Ticket URL: <https://code.djangoproject.com/ticket/36700#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019a4d9e40f3-c4287532-19ed-4e6b-9a45-797c32a1a6e2-000000%40eu-central-1.amazonses.com.