How can I configure the maximum queue size in MetaDefender Core v5 ?

The maximum queue size can be configured in MetaDefender Core v5 via REST API, as follows :

Set scan config

RequestValue
MethodPUT
URL/admin/config/scan

Request HTTP header parameters:

NameTypeRequiredValue
apikeystringtrueSession id, can be acquired by POST LoginAPI

Request body:

JSON pathTypeRequiredValue
max_queue_per_agentinttrueMax queue size allowed per agent

Example:

JSON
Copy

An example of a successful response can be found below :

HTTP status code: 200

Response contains information about the modified scan configuration

JSON
Copy

In case the configuration change was not correct, an error response like the one below will be returned :

Internal error

HTTP status code: 500

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard