79827449

Date: 2025-11-22 17:07:22
Score: 1
Natty:
Report link

Modern mongodb drivers use unified topology which automatically detects if a replica set is in use. Try using the 'diectConnection' option: https://www.mongodb.com/docs/manual/reference/connection-string-options/#mongodb-urioption-urioption.directConnection

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Joe