#21597: (2006, 'MySQL server has gone away') in django1.6 when wait_timeout
passed
-------------------------------------+-------------------------------------
Reporter: ekeydar@… | Owner: err
Type: Bug | Status: assigned
Component: Database layer | Version: 1.6
(models, ORM) | Resolution:
Severity: Release blocker | Triage Stage: Accepted
Keywords: mysql | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by andreis):
Hi, this absolutely true for me. However I've managed to come up with a
workaround, we've wrapped some of our code with decorators which
implicitly call close_old_connections() routine, so that django now
respects CONN_MAX_AGE parameter to some extent.
--
Ticket URL: <https://code.djangoproject.com/ticket/21597#comment:23>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/075.74de2f108a2757c328ea29ea179e14c1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.