Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The lock is explicitly release by the redis server itself after the ttl. It's not that the Client will assume that the lock is released.


In the past i used SQS where the client can extend the TTL of a given message (or lock in this case?) while it is still alive. Isn’t that possible with Redis?


It is, with quite a bit of flexibility https://redis.io/commands/expire/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: