]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change metadata-agent to have a configurable backlog
authorBrian Haley <brian.haley@hp.com>
Thu, 30 Jan 2014 20:05:49 +0000 (15:05 -0500)
committerJakub Libosvar <libosvar@redhat.com>
Mon, 3 Feb 2014 16:05:35 +0000 (17:05 +0100)
commitacc21edca49b866e2c2d6e208aaa573d2f95fd88
treef506b52c592ff5580cee2de0563ba817a1b2044f
parent32ca9c4f5f31db51ad3c7b3545ba917366464654
Change metadata-agent to have a configurable backlog

The metadata agent currently runs with a default socket backlog
of 128.  This isn't enough on a busy network node, even when
spawning multiple worker processes.

This change addes a new "metadata_backlog = XX" to the ini file
to support a configurable value to help improve performance.

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