You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there are reason this doesn't use the built-in redis decr instead of fetch value n then set value n - 1? What if n changes after the get but before the save?
The text was updated successfully, but these errors were encountered:
I'm trying to test this more but it is a bit tricky. I'm seeing odd behavior that makes me suspect this or two nodes with clocks skewed excessively. So I'll keep looking but wanted to understand.
Is there are reason this doesn't use the built-in redis
decr
instead of fetch valuen
then set valuen - 1
? What ifn
changes after the get but before the save?The text was updated successfully, but these errors were encountered: