This is an automated email from the ASF dual-hosted git repository. wenming pushed a commit to branch moonming-patch-1 in repository https://gitbox.apache.org/repos/asf/apisix.git
commit c29062dbc3ea8168a2a69e2750091268204d09d8 Author: Wen Ming <[email protected]> AuthorDate: Wed Jun 16 16:04:36 2021 +0800 doc: removed comment of worker_processes. --- conf/config-default.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/config-default.yaml b/conf/config-default.yaml index c2c124e..01b50bb 100644 --- a/conf/config-default.yaml +++ b/conf/config-default.yaml @@ -136,9 +136,7 @@ nginx_config: # config for render the template to generate n # if you're not root user,the default is current user. error_log: "logs/error.log" error_log_level: "warn" # warn,error - worker_processes: auto # one worker will get best performance, you can use "auto", but remember it is just work well only on physical machine - # no more than 8 workers, otherwise competition between workers will consume a lot of resources - # if you want use multiple cores in container, you can inject the number of cpu as environment variable "APISIX_WORKER_PROCESSES" + worker_processes: auto # if you want use multiple cores in container, you can inject the number of cpu as environment variable "APISIX_WORKER_PROCESSES" enable_cpu_affinity: true # enable cpu affinity, this is just work well only on physical machine worker_rlimit_nofile: 20480 # the number of files a worker process can open, should be larger than worker_connections worker_shutdown_timeout: 240s # timeout for a graceful shutdown of worker processes
