Displaying 1 to 1 from 1 results

with_advisory_lock - Advisory locking for ActiveRecord

  •    Ruby

Adds advisory locking (mutexes) to ActiveRecord 4.2, 5.1, and 5.2, with ruby 2.5, 2.4 and 2.3, when used with MySQL or PostgreSQL. SQLite resorts to file locking. An advisory lock is a mutex used to ensure no two processes run some process at the same time. When the advisory lock is powered by your database server, as long as it isn't SQLite, your mutex spans hosts.