ejfinneran / ratelimit

A Redis-backed rate limiter written in Ruby
MIT License
257 stars 55 forks source link

Deprecate calling commands on `Redis` inside `Redis#multi` #39

Closed koshigoe closed 2 years ago

koshigoe commented 2 years ago
  • Deprecate calling commands on Redis inside Redis#multi. See #1059.

    redis.multi do
    redis.get("key")
    end

    should be replaced by:

    redis.multi do |transaction|
    transaction.get("key")
    end

https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#460

koshigoe commented 2 years ago

41