Class: Lhm::Throttler::SlaveLag

Inherits:
ReplicaLag show all
Defined in:
lib/lhm/throttler/slave_lag.rb

Constant Summary

Constants inherited from ReplicaLag

ReplicaLag::DEFAULT_MAX_ALLOWED_LAG, ReplicaLag::DEFAULT_STRIDE, ReplicaLag::INITIAL_TIMEOUT, ReplicaLag::MAX_TIMEOUT

Instance Attribute Summary

Attributes inherited from ReplicaLag

#allowed_lag, #connection, #stride, #timeout_seconds

Instance Method Summary collapse

Methods inherited from ReplicaLag

#execute

Methods included from Command

#run

Constructor Details

#initialize(options = {}) ⇒ SlaveLag

Returns a new instance of SlaveLag.



6
7
8
9
# File 'lib/lhm/throttler/slave_lag.rb', line 6

def initialize(options = {})
  Lhm.logger.warn("Class `SlaveLag` is deprecated. Use `ReplicaLag` class instead.")
  super(options)
end