diff --git a/app/models/concerns/sync_lock.rb b/app/models/concerns/sync_lock.rb index cff20ffe1a5..2440366a6ad 100644 --- a/app/models/concerns/sync_lock.rb +++ b/app/models/concerns/sync_lock.rb @@ -14,7 +14,7 @@ def hlr_sync_lock begin # create the sync lock with a key, value pair only IF it doesn't already exist - # and give it an expiration time upon creation + # and give it an expiration time upon creation. sync_lock_acquired = redis.set(lock_key, "lock is set", nx: true, ex: LOCK_TIMEOUT.to_i) fail Caseflow::Error::SyncLockFailed, message: Time.zone.now.to_s unless sync_lock_acquired