diff options
| author | Michael Still <mikal@stillhq.com> | 2012-03-27 10:11:38 +1100 |
|---|---|---|
| committer | Michael Still <mikal@stillhq.com> | 2012-03-27 10:13:22 +1100 |
| commit | 5638ef4d0b152dfdc3ec61d82f4be5a60ec36d3a (patch) | |
| tree | 06ac060bbde4b68ed35228fd86fca3179291b392 /nova | |
| parent | a003e45af56e4f4c197c40fedc3b7d19a9684132 (diff) | |
| download | nova-5638ef4d0b152dfdc3ec61d82f4be5a60ec36d3a.tar.gz nova-5638ef4d0b152dfdc3ec61d82f4be5a60ec36d3a.tar.xz nova-5638ef4d0b152dfdc3ec61d82f4be5a60ec36d3a.zip | |
Reduce the image cache manager periodic interval.
When this code was written, I (incorrectly) believed a periodic
task tick was about a second. It turns out that by default they're
between 60 seconds and 120 seconds depending on a random value.
Therefore, reduce the interval to something more reasonable.
Change-Id: Id840c755f954e3e371d7238243f2248e8d402c7b
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 7c8d24eda..48e135b25 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -112,7 +112,7 @@ compute_opts = [ "Valid options are 'noop', 'log' and 'reap'. " "Set to 'noop' to disable."), cfg.IntOpt("image_cache_manager_interval", - default=3600, + default=40, help="Number of periodic scheduler ticks to wait between " "runs of the image cache manager."), cfg.IntOpt("heal_instance_info_cache_interval", |
