Re: [Django] #36863: Clarify caveats (beyond performance) of running async views under WSGI (was: Under WSGI, multiple calls to asgiref.sync.async_to_sync within the same request do not share the same event loop.)

1 view
Skip to first unread message

Django

unread,
Jun 18, 2026, 10:51:24 AM (yesterday) Jun 18
to django-...@googlegroups.com
#36863: Clarify caveats (beyond performance) of running async views under WSGI
-------------------------------------+-------------------------------------
Reporter: Mykhailo Havelia | Owner: Mykhailo
Type: | Havelia
Cleanup/optimization | Status: assigned
Component: HTTP handling | Version: 6.0
Severity: Normal | Resolution:
Keywords: async, wsgi | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* summary:
Under WSGI, multiple calls to asgiref.sync.async_to_sync within the
same request do not share the same event loop.
=> Clarify caveats (beyond performance) of running async views under
WSGI

--
Ticket URL: <https://code.djangoproject.com/ticket/36863#comment:22>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages