class Redis::MultiConnection

Public Instance Methods

multi() click to toggle source
# File lib/redis/pipeline.rb, line 59
def multi
  raise Redis::Error, "Can't nest multi transaction"
end

Private Instance Methods

send_blocking_command(command, _timeout, &block) click to toggle source

Blocking commands inside transaction behave like non-blocking. It shouldn’t be done though. redis.io/commands/blpop/#blpop-inside-a-multi–exec-transaction

# File lib/redis/pipeline.rb, line 68
def send_blocking_command(command, _timeout, &block)
  send_command(command, &block)
end