with_advisory_lock
with_advisory_lock copied to clipboard
Advisory locking for ActiveRecord
Should we raise exception to avoid incorrect usage of `transaction: true`? Another approach will be create transaction Current behavior of library: it silently runs `SELECT pg_advisory_xact_lock(...)` that without transaction means...
If the connection is broken, then the lock was released because the session is aborted. Thus there is no need to fail.
Hello everyone, As part of our ongoing efforts to improve the with_advisory_lock gem, we are planning some significant changes in the upcoming release, which we wanted to share with you...
I am in the process of packaging with_advisory_lock for Debian. Part of that packaging includes a copyright file that lists the license, the copyright holders, and all the copyright years....
Recently, our production web environments began failing due to OOM (Out of Memory) errors. Upon analyzing the heap dumps, we noticed a large number of 33-character strings, all prefixed with...
We just migrated from pg 15 on Heroku to CrunchyData CrunchyBridge and started seeing lots of "WARNING: you don't own a lock of type ExclusiveLock" per https://github.com/bensheldon/good_job/issues/388 "The warning is...