I have a system that uses Arctic and my workers get spawned frequently/randomly, if they open connections to Mongo through Arctic, how should I clean them up properly? arctic.reset()? I don't want to exhaust Mongo's connection pool and depend on timeout to clean up, that's poor practice.
I have a system that uses Arctic and my workers get spawned frequently/randomly, if they open connections to Mongo through Arctic, how should I clean them up properly?
arctic.reset()
? I don't want to exhaust Mongo's connection pool and depend on timeout to clean up, that's poor practice.