idle-worker-threads

Use the idle-worker-threads entry to define the number of worker threads that can be left running idle.

Syntax

idle-worker-threads = number

Description

To avoid spending extra resource and time on starting and stopping WebSocket worker threads, the threads can be left running idle. Although keeping them alive and idle when not in use consumes memory resources, it saves CPU and thread start-up time when the threads are required.

Options

number
The number of threads that can be left running idle.

Usage

This stanza entry is required.

Default value

0

Example

idle-worker-threads = 0