I hereby claim:
- I am kaelumania on github.
- I am kaelumania (https://keybase.io/kaelumania) on keybase.
- I have a public key ASByLoVZU3ggh0eGSti3AK3FHmGJBkW00QnhG9Hg_p5-Cgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def apply(id, diff) | |
5.times do | |
old = redis.read(id) | |
new = apply_diff(diff, old) | |
if redis.check_and_set(old, new) | |
break | |
end | |
end | |
end |