Project

General

Profile

« Previous | Next » 

Revision a40eea3b

Added by Evgeni Golov about 1 year ago

use `--workers` instead of `-w` when configuring gunicorn workers

long options are easier to read and understand

View differences:

templates/pulpcore-api.service.erb
RuntimeDirectory=pulpcore-api
ExecStart=/usr/libexec/pulpcore/gunicorn pulpcore.app.wsgi:application \
--timeout <%= scope['pulpcore::api_service_worker_timeout'] %> \
-w <%= scope['pulpcore::api_service_worker_count'] %> \
--workers <%= scope['pulpcore::api_service_worker_count'] %> \
--access-logfile - \
--access-logformat 'pulp [%({correlation-id}o)s]: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
ExecReload=/bin/kill -s HUP $MAINPID

Also available in: Unified diff