You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression
[x] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.
I'm submitting a...
Current behavior
Some times the db command is hanging and returned promise will never resolve. It seems that we should use
createConnection
withdb.model(...)
andconnect
withmongoose.model(...)
.When i change to use connect, everything works fine, So maybe this plugin should update to prevent this case. please see: https://stackoverflow.com/questions/22786374/queries-hang-when-using-mongoose-createconnection-vs-mongoose-connectExpected behavior
db command not hang
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
it maybe difficult to reproduce my case, there is some log output:
Environment
The text was updated successfully, but these errors were encountered: