mirror of
https://github.com/bytedance/g3.git
synced 2026-05-03 06:00:42 +00:00
g3proxy: make listen config optional in real servers
This commit is contained in:
parent
6a16ba7f6e
commit
067ea8e8e8
23 changed files with 160 additions and 35 deletions
|
|
@ -10,7 +10,6 @@ The following common keys are supported:
|
|||
* :ref:`escaper <conf_server_common_escaper>`
|
||||
* :ref:`auditor <conf_server_common_auditor>`
|
||||
* :ref:`shared_logger <conf_server_common_shared_logger>`
|
||||
* :ref:`listen <conf_server_common_listen>`
|
||||
* :ref:`listen_in_worker <conf_server_common_listen_in_worker>`
|
||||
* :ref:`tcp_sock_speed_limit <conf_server_common_tcp_sock_speed_limit>`
|
||||
* :ref:`ingress_network_filter <conf_server_common_ingress_network_filter>`
|
||||
|
|
@ -21,6 +20,19 @@ The following common keys are supported:
|
|||
* :ref:`task_idle_max_count <conf_server_common_task_idle_max_count>`
|
||||
* :ref:`extra_metrics_tags <conf_server_common_extra_metrics_tags>`
|
||||
|
||||
listen
|
||||
------
|
||||
|
||||
**optional**, **type**: :ref:`tcp listen <conf_value_tcp_listen>`
|
||||
|
||||
Set the listen config for this server.
|
||||
|
||||
The instance count setting will be ignored if *listen_in_worker* is correctly enabled.
|
||||
|
||||
**default**: not set
|
||||
|
||||
.. versionadded:: 1.7.20 change listen config to be optional
|
||||
|
||||
request_wait_timeout
|
||||
--------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue