with_advisory_lock icon indicating copy to clipboard operation
with_advisory_lock copied to clipboard

Locking and unlocking separately (without a block)

Open brendon opened this issue 3 months ago • 0 comments

I've had a good rummage through the code, and am pretty sure things aren't wired up this way, but I wondered if it's possible to kick off a lock with one method call, then release the lock with another? This would be useful say in a before_save and after_save_commit callback arrangement.

brendon avatar Mar 08 '24 09:03 brendon