This commit is contained in:
Julian Lam
2017-01-11 09:44:54 -05:00
parent a13c6f8c65
commit bbc02dcc5d

View File

@@ -347,7 +347,7 @@ Upgrade.upgrade = function (callback) {
// Adding in another check here in case a post was improperly dismissed (flag count > 1 but no flags in db)
if (!data.uids.length || !data.reasons.length) {
setInterval(next);
return setImmediate(next);
}
// Just take the first entry