From 5638ef4d0b152dfdc3ec61d82f4be5a60ec36d3a Mon Sep 17 00:00:00 2001 From: Michael Still Date: Tue, 27 Mar 2012 10:11:38 +1100 Subject: 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 --- nova/compute/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit