Skip to main content

Worker Threads

Description

Specifies the limits that can be set on the percentage of worker threads that may be consumed by this resource server.

Properties

The following table(s) describe the configuration properties for this component:

Name Type Constraints Description
hard_limit string Specifies the hard limit (as a percentage) of worker threads that the resource server can use. Warning messages will be displayed when the resource server uses more worker threads than allowed and clients are returned the 503 Service Unavailable message.
soft_limit string Specifies the soft limit (as a percentage) of worker threads that the resource server can use. Warning messages will be displayed when the resource server uses more worker threads than allowed.

Example

 resource_servers:
         - path: "/example"
           ...
           worker_threads:
               soft_limit: 60
               hard_limit: 80