-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Laravel-mongodb crashes laravel when mongod crashes #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What would you suggest as a solution? |
when mongod goes down it should give Failed to connect to: db error and when it up again it should work as normal i am not sure but i think there should be connection check before every query if connection is open it should go ahead with the query if connection check returns error it should close previous connection and open new connection and continue with querying What do you suggest ?? |
I'm closing this for now, as I don't think Laravel does this when connecting to an SQL database. |
i think it something to do with whoops i tried replicating error with native php MongoClient, but it fails silently but when i install whoops it gives the above error . |
Laravel-MongoDB crashes Laravel when mongod crashes with following error
It doesn't get back to normal even after mongod is back up and running It only works when web server is restarted .
another laravel mongodb driver mongolid-laravel has same issue
The text was updated successfully, but these errors were encountered: