devstack/inc
Dan Smith 30d9bf9a6d Async task support
We have a *ton* of stuff in devstack that is very linear, specifically
the ten-ish minutes we spend loading osc to run a single API command
against something. We also generate configs, sync databases, and other
things that use one core of our worker and make our runtime longer
than it really needs to be.

The idea in this patch is to make it super simple to run some things
in the background and then wait for them to finish before proceeding
to something that will require them to be done. This avoids the
interleaving you would expect by redirecting the async tasks to a log
file, and then cat'ing that log file synchronously during the wait
operation. The per-task log file remains so it's easier to examine
it in isolation.

Multiple people have reported between 22-30% improvement in the
time it takes to stack with this. More can be done, but what is here
already makes a significant difference.

Change-Id: I270a910b531641b023c13f75dfedca057a1f1031
2021-02-09 15:57:04 -08:00
..
async Async task support 2021-02-09 15:57:04 -08:00
ini-config Fix an issue in iniset function 2019-01-12 08:53:26 +08:00
meta-config Warn instead of die on undefined config names 2016-12-12 09:55:32 -05:00
python Use SETUPTOOLS_USE_DISTUTILS=stdlib for global pip installs 2020-08-31 15:01:20 +02:00
rootwrap Fix path setup in add_sudo_secure_path 2015-12-01 13:43:01 +11:00