diff --git a/docs/root/faq/disable_circuit_breaking.rst b/docs/root/faq/disable_circuit_breaking.rst new file mode 100644 index 000000000000..764de5158f71 --- /dev/null +++ b/docs/root/faq/disable_circuit_breaking.rst @@ -0,0 +1,20 @@ +Is there a way to disable circuit breaking? +=========================================== + +Envoy comes with :ref:`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`. + +.. code-block:: yaml + + circuit_breakers: + thresholds: + priority: HIGH + max_connections: 1000000000 + max_pending_requests: 1000000000 + max_requests: 1000000000 + max_retries: 1000000000 diff --git a/docs/root/faq/overview.rst b/docs/root/faq/overview.rst index d318fe94d61a..a4eee6d1077c 100644 --- a/docs/root/faq/overview.rst +++ b/docs/root/faq/overview.rst @@ -13,3 +13,4 @@ FAQ zipkin_tracing lb_panic_threshold concurrency_lb + disable_circuit_breaking