max-worker-threads

Use the max-worker-threads entry to define the maximum number of threads used to proxy WebSocket connections through WebSEAL.

max-worker-threads = number

Description

A value of zero blocks WebSockets from being proxied. Each WebSocket requires two worker threads. If the number of worker threads in use is more than the value of max-worker-threads, WebSEAL immediately closes the WebSocket even if the WebSocket upgrade request to the junction succeeds. These threads operate independently from the [server] worker-threads.

Options

Usage: Required.

Default value

0

Example:

max-worker-threads = 0

Parent topic: [websocket] stanza