--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c8171fd2-a423-439e-b89c-813a747658a1%40googlegroups.com.
You must do all database access through a synchronous function wrapped in database_sync_to_async - you can't just call it directly on an asyncio thread:Andrew
On Thu, Apr 5, 2018 at 5:25 AM, Matteo Lucchesi <matt...@gmail.com> wrote:
https://codeshare.io/5wlXNK
Il giorno giovedì 5 aprile 2018 14:07:56 UTC+2, Matteo Lucchesi ha scritto:i've write a auth middleware for django channels :but seem that use a persistent connection and after some hour i have the erro "Mysql is gone away"Where is the error?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.