Use redis time
starting with Redis 5, scripts are always replicated as effects and not sending the script verbatim
That means we can now:
local now = redis.call("TIME")[1]
redis.call("SADD", "xxx", now)
return redis.call("SMEMBERS")
starting with Redis 5, scripts are always replicated as effects and not sending the script verbatim
That means we can now:
local now = redis.call("TIME")[1]
redis.call("SADD", "xxx", now)
return redis.call("SMEMBERS")