redis-objects
redis-objects copied to clipboard
Not possible to use Counter#incrbyfloat with multi
In certain situation, I need to use multi to ensure atomic of a block of command. Current implementation of Counter#incrbyfloat include a too smart .to_f which make this impracticle.
Can't use HashKey#incr
inside a multi block as well because it tries to #to_i
the result.