Sfoglia il codice sorgente

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

Joan Miquel 5 anni fa
parent
commit
2462b82c55
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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