mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +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:`tls_server <conf_server_common_tls_server>`
|
||||
|
||||
|
|
@ -25,6 +24,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
|
||||
|
||||
upstream
|
||||
--------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue