fengxsong commented on code in PR #310:
URL: https://github.com/apache/apisix-helm-chart/pull/310#discussion_r910539371


##########
charts/apisix/templates/configmap.yaml:
##########
@@ -165,14 +165,16 @@ data:
     nginx_config:                     # config for render the template to 
genarate nginx.conf
       error_log: "{{ .Values.logs.errorLog }}"
       error_log_level: "{{ .Values.logs.errorLogLevel }}"         # warn,error
-      worker_rlimit_nofile: 20480     # the number of files a worker process 
can open, should be larger than worker_connections
+      worker_processes: "{{ .Values.nginx.workerProcesses }}"
+      enable_cpu_affinity: {{ default "true" .Values.nginx.enableCPUAffinity }}
+      worker_rlimit_nofile: {{ default 20480 .Values.nginx.workerRlimitNofile 
}}     # the number of files a worker process can open, should be larger than 
worker_connections
       event:
-        worker_connections: 10620
+        worker_connections: {{ default 10620 .Values.nginx.workerConnections  
}}

Review Comment:
   yes, make sense :)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to