mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
fine, 150ms.
This commit is contained in:
@@ -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) > 1000) {
|
if(parseInt(postDelay, 10) > 150) {
|
||||||
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user