mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
Skip setTimeout if it doesn't exist (<= 0.10.36)
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