During 11k users migration, was hitting too many open files errors

v1.18.x
Aziz Khoury 11 years ago
parent bfe081f672
commit a905c6a084

@ -3,6 +3,7 @@ var bcrypt = require('bcrypt'),
emailjs = require('emailjs'),
nconf = require('nconf'),
winston = require('winston'),
gravatar = require('gravatar'),
userSearch = require('reds').createSearch('nodebbusersearch'),
check = require('validator').check,
sanitize = require('validator').sanitize,
@ -368,7 +369,7 @@ var bcrypt = require('bcrypt'),
options.forcedefault = 'y';
}
return require('gravatar').url(email, options, https);
return gravatar.url(email, options, https);
};
User.hashPassword = function(password, callback) {

Loading…
Cancel
Save