Class: OnlineMigrations::NullLockRetrier

Inherits:
LockRetrier show all
Defined in:
lib/online_migrations/lock_retrier.rb

Instance Attribute Summary

Attributes inherited from LockRetrier

#connection

Instance Method Summary collapse

Instance Method Details

#attemptsObject



227
228
229
# File 'lib/online_migrations/lock_retrier.rb', line 227

def attempts(*)
  0
end

#delayObject



234
235
# File 'lib/online_migrations/lock_retrier.rb', line 234

def delay(*)
end

#lock_timeoutObject



231
232
# File 'lib/online_migrations/lock_retrier.rb', line 231

def lock_timeout(*)
end

#with_lock_retriesObject



237
238
239
# File 'lib/online_migrations/lock_retrier.rb', line 237

def with_lock_retries
  yield
end