mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
duh strings dont work
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
var connString = 'mongodb://' + usernamePassword + nconf.get('mongo:host') + ':' + nconf.get('mongo:port') + '/' + nconf.get('mongo:database');
|
||||
var connOptions = {
|
||||
server: {
|
||||
poolSize: nconf.get('mongo:poolSize') || 10
|
||||
poolSize: parseInt(nconf.get('mongo:poolSize'), 10) || 10
|
||||
}
|
||||
};
|
||||
mongoClient.connect(connString, connOptions, function(err, _db) {
|
||||
|
||||
Reference in New Issue
Block a user