Method: Faulty::Circuit#lock_open!

Defined in:
lib/faulty/circuit.rb

#lock_open!self

Force the circuit to stay open until unlocked

Returns:

  • (self)

300
301
302
303
# File 'lib/faulty/circuit.rb', line 300

def lock_open!
  storage.lock(self, :open)
  self
end