On Saturday, December 19, 2015 at 11:27:25 AM UTC-8, Mike Pastore wrote:
>
> On a somewhat-related topic, I've noticed that after I bounce the MySQL 
> (MariaDB) server, requests start failing with:
>
> 2015-12-19 06:18:32 - Sequel::DatabaseDisconnectError - Mysql2::Error: 
> MySQL server has gone away:
>
>
> Even though MySQL is back online and ready to receive queries. I have to 
> restart Puma to get the workers to reinitialize their connections. Is there 
> a way to make the Sequel connection pool a little more robust so it handles 
> this situation better?
>

You can use the connection_validator extension if you want to check 
connections before use.

Thanks,
Jeremy 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to