Closed martingregoire closed 1 year ago
Fixes the following deprecation warning when using Redis 4.8.0:
Redis#sadd will always return an Integer in Redis 5.0.0. Use Redis#sadd? instead.
As the return value of redis.sadd is not used, we can simply replace the .sadd call with .sadd?.
redis.sadd
.sadd
.sadd?
see
Fixes the following deprecation warning when using Redis 4.8.0:
As the return value of
redis.sadd
is not used, we can simply replace the.sadd
call with.sadd?
.see
700