• pbair's avatar
    WithLockRetries can error if all attempts fail · 32fe0463
    pbair authored
    Modify WithLockRetries to accept an optional flag that if all attempts
    to obtain the lock fail, it will raise an error rather than executing
    without a lock_timeout.
    32fe0463
with_lock_retries_spec.rb 6.98 KB