• Bob Van Landuyt's avatar
    Implement backoff for the circuitbreaker · 248debde
    Bob Van Landuyt authored
    The circuitbreaker now has 2 failure modes:
    
    - Backing off: This will raise the `Gitlab::Git::Storage::Failing`
      exception. Access to the shard is blocked temporarily.
    - Circuit broken: This will raise the
      `Gitlab::Git::Storage::CircuitBroken` exception. Access to the shard
      will be blocked until the failures are reset.
    248debde
null_circuit_breaker.rb 971 Bytes