From bbc02dcc5d678546be920a4fc37ca4e917e4887b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 11 Jan 2017 09:44:54 -0500 Subject: [PATCH] lol wtf --- src/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index b860a642ba..8dce35b901 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -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