All Downloads are FREE. Search and download functionalities are using the official Maven repository.

script.batchRpopScript.lua Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
local batchSize = tonumber(ARGV[1]);
local messageList = redis.call('lRange', KEYS[1], 0 - batchSize, -1);
redis.call('lTrim', KEYS[1], 0, 0 - batchSize - 1);
return messageList;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy