g3proxy: finish route_failover escaper

This commit is contained in:
Zhang Jingqiang 2023-06-13 15:30:57 +08:00
parent c6bc6b34ff
commit 1cf43d6be0
12 changed files with 576 additions and 15 deletions

View 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