Baris Usakli 11 years ago
commit 7e50bcba0c

@ -84,7 +84,7 @@ Upgrade.upgrade = function() {
}, },
function(next) { function(next) {
RDB.hget('config', 'postDelay', function(err, postDelay) { 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) { RDB.hset('config', 'postDelay', 10, function(err, success) {
winston.info('[2013/11/11] Updated postDelay to 10 seconds.'); winston.info('[2013/11/11] Updated postDelay to 10 seconds.');
next(); next();

Loading…
Cancel
Save