Skip to content

Commit 2a144c5

Browse files
committed
Add documentation for new 'listen_threads' config option
Signed-off-by: Andrew Clayton <[email protected]>
1 parent eb6a71f commit 2a144c5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

source/configuration.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Available listener options:
111111
means use the OS default. For example. on Linux since 5.4, this is
112112
**4096** (previously **128**) and on FreeBSD it's **128**.
113113

114-
On other systems default is **511**.
114+
On other systems the default is **511**.
115115

116116
NOTE: Whatever limit you set here will be limited by the OS
117117
system-wide sysctl. For example. on Linux that is
@@ -5376,6 +5376,16 @@ that stores instance-wide preferences.
53765376
* - Option
53775377
- Description
53785378
5379+
* - **listen_threads**
5380+
- Integer;
5381+
controls the number of router threads created to handle client
5382+
connections. Each thread includes all the configured listeners.
5383+
5384+
By default, we create as many threads as the number of CPUs that
5385+
are available to run on.
5386+
5387+
*(since 1.33.0)*
5388+
53795389
* - **http**
53805390
- Object;
53815391
fine-tunes handling of HTTP requests

0 commit comments

Comments
 (0)