skip to Main Content

Redis StackExchange LuaScripts with parameters

I'm trying to use the following Lua script using C# StackExchange library: private const string LuaScriptToExecute = @" local current current = redis.call(""incr"", KEYS[1]) if current == 1 then redis.call(""expire"", KEYS[1], KEYS[2]) return 1 else return current end Whenever i'm…

VIEW QUESTION
Back To Top
Search