diff --git a/ansible/roles/swift/templates/account.conf.j2 b/ansible/roles/swift/templates/account.conf.j2 index 753423db96..00606ea3ff 100644 --- a/ansible/roles/swift/templates/account.conf.j2 +++ b/ansible/roles/swift/templates/account.conf.j2 @@ -8,6 +8,7 @@ log_udp_port = {{ fluentd_syslog_port }} log_name = {{ service_name }} log_facility = LOG_LOCAL0 log_level = INFO +workers = {{ openstack_service_workers }} [pipeline:main] pipeline = account-server diff --git a/ansible/roles/swift/templates/container.conf.j2 b/ansible/roles/swift/templates/container.conf.j2 index 6867ca8499..1d8df62aec 100644 --- a/ansible/roles/swift/templates/container.conf.j2 +++ b/ansible/roles/swift/templates/container.conf.j2 @@ -8,6 +8,7 @@ log_udp_port = {{ fluentd_syslog_port }} log_name = {{ service_name }} log_facility = LOG_LOCAL0 log_level = INFO +workers = {{ openstack_service_workers }} [pipeline:main] pipeline = container-server diff --git a/ansible/roles/swift/templates/object.conf.j2 b/ansible/roles/swift/templates/object.conf.j2 index 6fa1c77d1a..2629e3f367 100644 --- a/ansible/roles/swift/templates/object.conf.j2 +++ b/ansible/roles/swift/templates/object.conf.j2 @@ -9,6 +9,7 @@ log_udp_port = {{ fluentd_syslog_port }} log_name = {{ service_name }} log_facility = LOG_LOCAL0 log_level = INFO +workers = {{ openstack_service_workers }} [pipeline:main] {% if service_name == 'swift-object-expirer' %} diff --git a/ansible/roles/swift/templates/proxy-server.conf.j2 b/ansible/roles/swift/templates/proxy-server.conf.j2 index 6177700f89..cd8a8db2f8 100644 --- a/ansible/roles/swift/templates/proxy-server.conf.j2 +++ b/ansible/roles/swift/templates/proxy-server.conf.j2 @@ -7,6 +7,7 @@ log_udp_port = {{ fluentd_syslog_port }} log_name = {{ service_name }} log_facility = LOG_LOCAL0 log_level = INFO +workers = {{ openstack_service_workers }} [pipeline:main] pipeline = catch_errors gatekeeper healthcheck cache container_sync bulk ratelimit authtoken keystoneauth slo dlo proxy-server