#35059: ASGI server leaves stale DB connections
-------------------------------------+-------------------------------------
Reporter: James Thorniley | Owner: James
| Thorniley
Type: Bug | Status: closed
Component: HTTP handling | Version: 5.0
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):
In [changeset:"38248588f66591d7a9fede0de6eb7f0ae1b6ada9" 3824858]:
{{{#!CommitTicketReference repository=""
revision="38248588f66591d7a9fede0de6eb7f0ae1b6ada9"
[5.1.x] Refs #35059 -- Used asyncio.Event in
ASGITest.test_asyncio_cancel_error to enforce specific interleaving.
Sleep call leads to a hard to trace error in CI. Using an Event is
more deterministic, and should be less prone to environment
variations.
Bug in 11393ab1316f973c5fbb534305750740d909b4e4.
Backport of f4a08b6ddfcacadfe9ff8364bf1c6c54f5dd370f from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35059#comment:21>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/010701904fb7e324-51d56c78-73f2-4ef7-be05-65c9dccc68cb-000000%40eu-central-1.amazonses.com.