the database plugin won't do anything fancy, it was a proof of concept to show how to handle DBI in Mojolicious On May 27, 2015 7:46 PM, <[email protected]> wrote:
> Thanks that sounds like a good possibility. I've added a considerable > amount of debug logging and should be able to confirm if the database > connection is the issue by tomorrow morning. I'm using > Mojolicious::Plugin::Database and had hoped that plugin would manage the > database connection and keep it alive will do some further reading on that. > > On Wednesday, May 27, 2015 at 1:16:21 PM UTC+1, Александр Грошев wrote: >> >> В Среда, 27 май. 2015 в 1:38 , [email protected] написал: >> >> Is there something simple I'm missing here? >> >> >> Yes. Mojolicious::Plugin::Authentication->validate_user using your code. >> I'm sure that coderef in 'validate_user' contain usage of connection to >> DB/LDAP/etc. >> You try to check the connection to the remote service with which >> validation occurs. Try restore connection If it terminated. >> > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" 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 http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" 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 http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
