GenieACS configs parameters

WORKER_PROCESSES

let workerCount = config.get(${service.toUpperCase()}_WORKER_PROCESSES);
if (!workerCount) workerCount = Math.max(2, require("os").cpus().length);

Define how many process are started/forked (default: 2 per CPU)

MAX_CONCURRENT_REQUESTS

Define how many concurrent requests are being handled (default 20)

PRESETS_CACHE_DURATION

You shouldn’t usually worry about this. Dig into the code if you need to know more “start with a grep -R PRESETS_CACHE_DURATION *”

TASK_PARAMETERS_BATCH_SIZE = GPV_BATCH_SIZE (= default 32)

How many GET PARAMETER VALUES per Request

źródło: http://lists.genieacs.com/pipermail/users/2019-February/002436.html

Leave a comment

Your email address will not be published. Required fields are marked *