mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
configurable post delay before first post
This commit is contained in:
@@ -56,6 +56,7 @@ module.exports = function(redisClient, module) {
|
||||
};
|
||||
|
||||
module.sortedSetsRemoveRangeByScore = function(keys, min, max, callback) {
|
||||
callback = callback || function() {};
|
||||
var multi = redisClient.multi();
|
||||
for(var i=0; i<keys.length; ++i) {
|
||||
multi.zremrangebyscore(keys[i], min, max);
|
||||
|
||||
Reference in New Issue
Block a user