Browse Source

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

Joan Miquel 5 years ago
parent
commit
2462b82c55
1 changed files with 1 additions and 1 deletions
  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