]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Speed up metadata server registration
authorZane Bitter <zbitter@redhat.com>
Wed, 11 Jul 2012 19:12:23 +0000 (15:12 -0400)
committerZane Bitter <zbitter@redhat.com>
Wed, 11 Jul 2012 19:18:18 +0000 (15:18 -0400)
commit8cbd065bf0124290a828320f9087ce9183ee73fc
tree7016b7443572e9fef79ae5d1dfefd94456c66cc2
parente4eaca5d58b1d59459079d4967b91f3bbc6a1aae
Speed up metadata server registration

If heat-engine and heat-metadata were started at approximately the same
time, such that heat-engine was not ready to receive the registration call
from heat-metadata on the first attempt, it would take a minute before the
next retry. Instead, start with a very short timeout (2s) and increase it
if the engine does not show up.

Fixes #159

Change-Id: Ie2efcce667f1dde9ae227a4bb19a1d6a2b7cf135
Signed-off-by: Zane Bitter <zbitter@redhat.com>
bin/heat-metadata