[FIX] script generate_config force workers = 0 for developer

This commit is contained in:
Mathieu Benoit 2026-03-22 01:49:22 -04:00
parent c09f336a8f
commit 82ad4561cb

View file

@ -163,10 +163,13 @@ printf "\n" >> "${EL_CONFIG_FILE}"
printf "max_cron_threads = 2\n" >> "${EL_CONFIG_FILE}"
printf "workers = 2\n" >> "${EL_CONFIG_FILE}"
# TODO support queue_job
if [[ ${EL_INSTALL_NGINX} = "True" ]]; then
printf "workers = 2\n" >> "${EL_CONFIG_FILE}"
printf "xmlrpc_interface = 127.0.0.1\n" >> "${EL_CONFIG_FILE}"
printf "proxy_mode = True\n" >> "${EL_CONFIG_FILE}"
else
printf "workers = 0\n" >> "${EL_CONFIG_FILE}"
fi
# Update and fix the config.conf