I think I'm experiencing an issue related to: https://github.com/django/channels/issues/1234
where I get (2006, 'MySQL server has gone away') after trying to establish a new channels connection with calls using database_sync_to_async(). I have set my Django DB CONN_MAX_AGE to 300 (5 minutes) and my MariaDB wait_timeout to 28800 (was 600 originally). All this did was extend the time before I saw the issue. Why would Django not be clearing out old connections, and why doesn't it just open a new one? -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9c03f6d4-4816-4455-bf8f-d71839d8aa96%40googlegroups.com.