mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 10:58:36 +02:00
Merge pull request #2843 from FokkeZB/patch-1
Skip setTimeout if it doesn't exist (Node 0.10.x with SSL)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user