Method: Faulty::Circuit#lock_open!

Defined in:
lib/faulty/circuit.rb

#lock_open!self

Force the circuit to stay open until unlocked

Returns:

  • (self)


319
320
321
322
# File 'lib/faulty/circuit.rb', line 319

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