Merge pull request #2843 from FokkeZB/patch-1

Skip setTimeout if it doesn't exist (Node 0.10.x with SSL)
v1.18.x
Barış Soner Uşaklı 10 years ago
commit 0ebad0fe10

@ -110,7 +110,7 @@ if(nconf.get('ssl')) {
emitter.emit('nodebb:ready');
});
server.setTimeout(10000);
server.setTimout && server.setTimeout(10000);
module.exports.listen = function(callback) {
logger.init(app);

Loading…
Cancel
Save