
This patch is adding the configuration of the number of workers, threads, and the size of the listen queue in Debian, which uses uwsgi to run Aodh API. Therefore, this patch adds a new aodh_api_uwsgi_config provider as well as a new aodh::wsgi::uwsgi class. Change-Id: Ib00be314fe5abc262d4c35f5fbc5612fcd18972d
11 lines
210 B
Ruby
11 lines
210 B
Ruby
Puppet::Type.type(:aodh_api_uwsgi_config).provide(
|
|
:openstackconfig,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/aodh/aodh-api-uwsgi.ini'
|
|
end
|
|
|
|
end
|