0

When you have autoConnectRetry=true, is it possible to catch when the connection resumes?

I have a backup system, where some non-essential operations are stored in a file if mongo connection fails. I'm processing the operations from this file on application startup but I would also like to process them when the connection resumes.

siltalau
  • 529
  • 3
  • 17

1 Answers1

0

Currently, there is no way to subscribe a listener to auto connects.

Ross
  • 17,861
  • 2
  • 55
  • 73