News for hackers. Stuff that matters.
Re:Distributed locking with Postgres advisory locks by 3pt14159 on Monday January 24, 2022 @08:43AM (#30057466)
Right. Well, I guess I just think the article is worded confusingly then. Because when I read it I thought "wait, it doesn't error, it waits" and I think that's an important feature.
Re:Distributed locking with Postgres advisory locks by anentropic on Tuesday January 25, 2022 @06:02AM (#30070484)
Yes you can choose, either to wait until your configured timeout (and if you set it to 0 it will wait indefinitely) or error immediately