[FIX] script generate_config force workers = 0 for developer
This commit is contained in:
parent
c09f336a8f
commit
82ad4561cb
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue