Hacker News new | ask | show | jobs
by codegladiator 1060 days ago
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.
1 comments

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/