use replicaset if configured by Icehunter · Pull Request #3091 · NodeBB/NodeBB
I use a replicaset. Here's a patch to use as well. config.json: { "url": "http://localhost:4567", "secret": "fae93eb7-f17b-429d-a614-4783d8466517", "database": "mongo", "mongo": { "host": "127.0.0.1,127.0.0.1,127.0.0.1", "port": "27017,27018,27019", "username": "", "password": "", "database": "nodebb" } }
GitHub (github.com)
Made a pull request for it.