I'm using node-red-node-mongodb which I believe is the default mongo node. When the mongo database gets restarted for whatever reason, it doesn't recover and throws the following error repeatedly:
"MongoError: Topology was destroyed"
Restarting the flow fixes the issue. It's the same as in here:
It seems it's possible to evade the issue by messing with the mongo client configurations like "socketTimeoutMS" and "keepAlive" by what I gathered but I couldn't find how to change these configurations in the node.
Does anyone know of a workaround? Thanks in advance.