Skip to content

Commit

Permalink
Add documentation for new 'listen_threads' config option
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Clayton <[email protected]>
  • Loading branch information
ac000 committed Aug 21, 2024
1 parent eb6a71f commit 2a144c5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion source/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Available listener options:
means use the OS default. For example. on Linux since 5.4, this is
**4096** (previously **128**) and on FreeBSD it's **128**.

On other systems default is **511**.
On other systems the default is **511**.

NOTE: Whatever limit you set here will be limited by the OS
system-wide sysctl. For example. on Linux that is
Expand Down Expand Up @@ -5376,6 +5376,16 @@ that stores instance-wide preferences.
* - Option
- Description
* - **listen_threads**
- Integer;
controls the number of router threads created to handle client
connections. Each thread includes all the configured listeners.
By default, we create as many threads as the number of CPUs that
are available to run on.
*(since 1.33.0)*
* - **http**
- Object;
fine-tunes handling of HTTP requests
Expand Down

0 comments on commit 2a144c5

Please sign in to comment.