Hello again I did everything as it as advised by the link above. Didn't help actually. May be this related to «Notes on Pooling for MongoDB Drivers» ( http://docs.mongodb.org/meta-driver/latest/legacy/notes-on-pooling-for-mongodb-drivers/ ) but I cannot get how to implement this with Mojolicious.
Sorry, but Perl driver for MongoDB is really erroneous and this happens already for years… On Friday, 4 July 2014 16:32:34 UTC+3, Cathe wrote: > > Hi, > > Thanks a lot! I couldn't find this guidance. I guess this is exactly what > I need. > > > On Wednesday, July 2, 2014 1:17:23 PM UTC+1, Pelle wrote: >> >> Hi. >> >> On 2 July 2014 13:02, Cathe <[email protected]> wrote: >> > >> > Hello, >> > >> > The problem is exactly as it is described here: http://stackover >> > flow.com/questions/18140561/exceptions-in-mongodb-cursor-pm-line-161 >> > >> > Versions of MongoDB, MongoDB Perl driver are the most recent. >> > >> > I suspect that something is wrong in the way how I connect to the >> mongodb: I do it from MyApp.pm before the startup { … } and it looks like >> connection is dropped sometimes (but not always) when hypnotoad restarts >> the workers, so they are forgetting about the connection. >> > >> > I would be very grateful for your advice. >> >> Have you read the guidelines in the wiki >> (https://github.com/kraih/mojo/wiki/Using-mongodb)? >> > -- 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.
