3.7 Custom configuration

Edit the configuration file

Custom application configuration can be achieved by editing the customer.env environment file.

The following steps are required to change different parameters in this file:

  • Navigate to /etc/mdss/customer.env and open the file

  • If the parameter that needs to be changed is not present, add the new parameter with the desired value. If it already exists, just edit the value.

    RABBITMQ_SCANNING_PREFETCH_COUNT=30
  • Save the file

  • In order for the changes to apply, please restart the application by running the following command:

    sudo mdss -c restart

Increase the number of concurrent scans

To be able to scan multiple files in the same time, the event bus needs to be configured accordingly. Please add the following environment variable in your customer.env file (as described above):

Environment Variable

Value

Default Value

Maximum Value

Description

RABBITMQ_SCANNING_PREFETCH_COUNT

50

20

200

Allow up to 50 files to be scanned at the same time.