From 5647d55147a198c8b3bc051dd6d5fcc38c650103 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 11 Nov 2013 12:41:33 -0500 Subject: [PATCH] updated postDelay upgrade script to update if the old value is over 1000, not 10! --- src/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index f5a4789b5b..75c05b7257 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -84,7 +84,7 @@ Upgrade.upgrade = function() { }, function(next) { RDB.hget('config', 'postDelay', function(err, postDelay) { - if(parseInt(postDelay, 10) > 10) { + if(parseInt(postDelay, 10) > 1000) { RDB.hset('config', 'postDelay', 10, function(err, success) { winston.info('[2013/11/11] Updated postDelay to 10 seconds.'); next();