updated postDelay upgrade script to update if the old value is over 1000, not 10!

v1.18.x
Julian Lam 11 years ago
parent 4ce6ac5af9
commit 5647d55147

@ -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();

Loading…
Cancel
Save