Explorar el Código

php-ngx-pgsql 4x workers (#5492)

Joan Miquel hace 5 años
padre
commit
2462b82c55
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frameworks/PHP/php-ngx/php-ngx-pgsql.dockerfile

+ 1 - 1
frameworks/PHP/php-ngx/php-ngx-pgsql.dockerfile

@@ -28,6 +28,6 @@ RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
 
 RUN sed -i "s|mysql:|pgsql:|g" /app.php
 
-CMD export WORKERS=$(( 3 * $(nproc) )) && \
+CMD export WORKERS=$(( 4 * $(nproc) )) && \
     sed -i "s/worker_processes  auto/worker_processes $WORKERS/g" /deploy/nginx.conf && \
     /nginx/sbin/nginx -c /deploy/nginx.conf