Skip to content

Instantly share code, notes, and snippets.

Avatar

Jiri Nemecek geronime

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