Skip to content

Instantly share code, notes, and snippets.

'use strict';
const connUri = 'mongodb://localhost:37017,localhost:37018,localhost:37019/test';
const connOpts = {
db: {
bufferMaxEntries: 0
},
server: {
autoReconnect: true,
socketOptions: {