#36957: Django psycopg connection pool + fork()
-------------------------------------+-------------------------------------
Reporter: Anna | Owner: Dhruvan
| Gnanadhandayuthapani
Type: Bug | Status: assigned
Component: Uncategorized | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Dhruvan Gnanadhandayuthapani):
Opened a PR that implements the `os.register_at_fork()` check along with a
flag. This solution was preferred over running `os.getpid()` in the pool
property, because it is wasteful to do it each time the property is
accessed.
https://github.com/django/django/pull/20790
--
Ticket URL: <https://code.djangoproject.com/ticket/36957#comment:4>
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/0107019ca184f88a-9e5d1d29-4a3b-4d77-8319-1bd9c5185b99-000000%40eu-central-1.amazonses.com.