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

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

Set scan config {#rest_setscanconfig}

Request

Value

Method

PUT

URL

/admin/config/scan

Request HTTP header parameters:

Name

Type

Required

Value

apikey

string

true

Session id, can be acquired by Login / Create a Session

Request body:

JSON path

Type

Required

Value

max_queue_per_agent

int

true

Max queue size allowed per agent

Example:


An example of a successful response can be found below :

HTTP status code: 200

Response contains information about the modified scan configuration


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

Internal error

HTTP status code: 500

This article applies to MetaDefender Core v4
This article was last updated on 2018-03-22
CN