max-worker-threads

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

Syntax

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

number
The maximum number of threads that can be used to proxy WebSocket connections through WebSEAL.

Usage

This stanza entry is required.

Default value

0

Example

max-worker-threads = 0