PLBWEB_REST_MAX_COUNT Keyword


10.2

PLBWEB_REST_MAX_COUNT<nn>=<value>

 

This keyword controls the maximum number of active REST tasks

 

This keyword is required and is placed in the [Environment] section of the PWS configuration INI file. .

Where:

'nn'
The 'nn' that is appended to the PWS keyword name can be a string value from '01' to '99'.
value
The value provides a limit to the number of concurrent REST tasks.

Note:

1.   The value can be from one (1) to one hundred (100) for REST tasks running under the FastCGI interface. In this case, a value of zero (0) defaults to a maximum count of five (5). Also, if this keyword is not used, the maximum count of five is used.

2.   The value can be from zero to two thousand (2000) for REST tasks running under the CGI interface. A value of zero indicates that no maximum count should be used. Likewise, if this keyword is not used, there is no maximum count used.

3.   If more requests are made than available REST tasks, the requests will be place in a queue. If any request is not processed within the time specified by the PLBWEB_CGI_TIMEOUT value, an error will be returned.

Example:

 

PLBWEB_REST_MAX_COUNT01=10

 

 

See Also: PLBWEBSRV Keywords, Server Command Line



PL/B Web Server PLBWEB_REST_CMDLINE PLBWEB_REST_PORTNUM