mirror of
https://github.com/bytedance/g3.git
synced 2026-05-02 13:40:42 +00:00
g3proxy: finish route_failover escaper
This commit is contained in:
parent
c6bc6b34ff
commit
1cf43d6be0
12 changed files with 576 additions and 15 deletions
38
g3proxy/doc/configuration/escapers/route_failover.rst
Normal file
38
g3proxy/doc/configuration/escapers/route_failover.rst
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.. _configuration_escaper_route_failover:
|
||||
|
||||
route_failover
|
||||
==============
|
||||
|
||||
.. versionadded:: 1.7.17
|
||||
|
||||
This escaper allows to failover between the primary and standby next escaper.
|
||||
|
||||
.. note:: The http forward capability will be downgraded for unmatched next escapers.
|
||||
|
||||
There is no path selection support for this escaper.
|
||||
|
||||
No common keys are supported.
|
||||
|
||||
primary_next
|
||||
------------
|
||||
|
||||
**required**, **type**: str
|
||||
|
||||
Set the primary next escaper to be used.
|
||||
|
||||
standby_next
|
||||
------------
|
||||
|
||||
**required**, **type**: str
|
||||
|
||||
Set the standby next escaper to be used.
|
||||
|
||||
fallback_delay
|
||||
--------------
|
||||
|
||||
**optional**, **type**: :ref:`humanize duration <conf_value_humanize_duration>`
|
||||
|
||||
Set the delay time that we should wait before using the standby escaper while stilling waiting for response
|
||||
from the primary escaper.
|
||||
|
||||
**default**: 100ms
|
||||
Loading…
Add table
Add a link
Reference in a new issue