We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am seeing a very high number of connections in my logs:
" 10:03:38 [initandlisten] connection accepted from 127.0.0.1:40547 #119 (101 connections now open)"
Is this normal? I am creating a connection in my express middleware as follows:
module.exports = function(config) { var db = mongoskin.db((config.dbName || 'localhost:27017/test'), config.dbOptions); return function(req, res, next) { res.locals.appName = config.app.name; res.db = db; next(); } }
The options object being this: dbOptions: { 'auto_reconnect': true , 'poolSize' : 1 , w : 1 , safe : true , strict: false },
Thanks
The text was updated successfully, but these errors were encountered:
Did you ever figure this out? I'm seeing a lot of connections in my logs too
Sorry, something went wrong.
No branches or pull requests
I am seeing a very high number of connections in my logs:
" 10:03:38 [initandlisten] connection accepted from 127.0.0.1:40547 #119 (101 connections now open)"
Is this normal? I am creating a connection in my express middleware as follows:
module.exports = function(config) {
var db = mongoskin.db((config.dbName || 'localhost:27017/test'), config.dbOptions);
return function(req, res, next) {
res.locals.appName = config.app.name;
res.db = db;
next();
}
}
The options object being this:
dbOptions: {
'auto_reconnect': true
, 'poolSize' : 1
, w : 1
, safe : true
, strict: false
},
Thanks
The text was updated successfully, but these errors were encountered: