Is there a way to disable circuit breaking?

Envoy comes with certain defaults for each kind of circuit breaking. Currently, there isn’t a switch to turn circuit breaking off completely; however, you could achieve a similar behavior by setting these thresholds very high, for example, to std::numeric_limits::max().

Following is a sample configuration that tries to effectively disable all kinds of circuit breaking by setting the thresholds to a value of 1000000000.

  1. circuit_breakers:
  2. thresholds:
  3. - priority: DEFAULT
  4. max_connections: 1000000000
  5. max_pending_requests: 1000000000
  6. max_requests: 1000000000
  7. max_retries: 1000000000
  8. - priority: HIGH
  9. max_connections: 1000000000
  10. max_pending_requests: 1000000000
  11. max_requests: 1000000000
  12. max_retries: 1000000000

Envoy supports priority routing at the route level. You may adjust the thresholds accordingly.