configurable post delay before first post

This commit is contained in:
barisusakli
2014-09-15 17:01:20 -04:00
parent 9a96458f79
commit 31eccb8e7f
4 changed files with 13 additions and 6 deletions

View File

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