idle-worker-threads

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

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

Usage: Required.

Default value

0

Example:

idle-worker-threads = 0

Parent topic: [websocket] stanza