mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
another process.nextTick
This commit is contained in:
@@ -503,7 +503,7 @@ module.exports = function (db, module) {
|
|||||||
if (options.interval) {
|
if (options.interval) {
|
||||||
setTimeout(next, options.interval);
|
setTimeout(next, options.interval);
|
||||||
} else {
|
} else {
|
||||||
next();
|
process.nextTick(next);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
], next);
|
], next);
|
||||||
|
|||||||
Reference in New Issue
Block a user