redis-objects icon indicating copy to clipboard operation
redis-objects copied to clipboard

Not possible to use Counter#incrbyfloat with multi

Open phuongnd08 opened this issue 10 years ago • 1 comments

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.

phuongnd08 avatar Dec 11 '14 09:12 phuongnd08

Can't use HashKey#incr inside a multi block as well because it tries to #to_i the result.

mksm avatar Jul 03 '17 20:07 mksm