• Bob Van Landuyt's avatar
    Implement backoff for the circuitbreaker · 430e7671
    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.
    430e7671
circuit_breaker.rb 4.86 KB