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: { |