]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change metadata-agent to spawn multiple workers
authorBrian Haley <brian.haley@hp.com>
Thu, 30 Jan 2014 19:39:47 +0000 (14:39 -0500)
committerBrian Haley <brian.haley@hp.com>
Fri, 31 Jan 2014 17:24:47 +0000 (12:24 -0500)
commit32ca9c4f5f31db51ad3c7b3545ba917366464654
tree294813c32c7ffb1235f8ca333dee50d078286e78
parentba12cc88ce35ac452730a98dddd49eefda9db593
Change metadata-agent to spawn multiple workers

There is currently only one metadata-agent per network node,
which could be handling connections from hundreds or thousands
of metadata-namespace-proxy processes.

This change addes a new "metadata_workers = XX" to the ini file
to support creating more workers to help improve performance.

Change-Id: Ib9ebcfc543a83982dd93db79c7dc631283fd3bfa
Partial-bug: #1274536
etc/metadata_agent.ini
neutron/agent/metadata/agent.py
neutron/tests/unit/test_metadata_agent.py