Integratec API Platform
setBrokerRequestMax

Description

Modifies the Broker's limit on concurrently active or tracked requests. This is only relevant for requests that have not been cleaned up via deleteRequest or sendRecvDelete.

Remarks

Increasing the limit from the default (100,000) leaves the machine running the Master module open to 'out of memory' errors.

See Also: getBrokerRequestMax, getBrokerRequestCount

Example

Request

The following request changes the request maximum to 250,000.

{
"value": 250000
}

Reply

{
"requestMax": 250000
}

Request Schema

{
"$schema":"http://json-schema.org/draft-04/schema#",
"type":"object",
"required":[
"value"
],
"properties":{
"value":{
"type":"integer",
"minimum":1
}
}
}

Reply Schema

{
"$schema":"http://json-schema.org/draft-04/schema#",
"type":"object",
"required":[
"requestMax"
],
"properties":{
"requestMax":{
"type":"integer"
}
}
}