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
I got a persistence service that uses mongo. When mongo restarts, the persistence service returns "server instance pool was destroyed". I think in reset the persistence service when that thing happens. Is there another idea to deal with this???
Moleculer 0.14.12
The text was updated successfully, but these errors were encountered:
I could confirm that this happens on a Mongo service restart (maybe due to memory) - the pool is not reestablished if the mongo service is down for more than 40 seconds during restart. It should be possible to fix using connection parameters and setting the retry timeout to a higher value:
new MongoDBAdapter("Connection URI",{
poolSize: 100,
wtimeout: 2500,
connectTimeoutMS: 10000,
}
I got a persistence service that uses mongo. When mongo restarts, the persistence service returns "server instance pool was destroyed". I think in reset the persistence service when that thing happens. Is there another idea to deal with this???
Moleculer 0.14.12
The text was updated successfully, but these errors were encountered: