Comment

Comment by remote_phone

That doesn’t make sense, they can’t assume the lock is freed after the timeout. They have to retry to get the lock again, because another process might have taken the lock. Also, redis is single threaded so access to redis is by definition serialized.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton