diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index cf13eb85f54b..1f85e957e949 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -662,7 +662,7 @@ #### detected.Valid options are 'noop', 'log' and 'reap'. Set to #### 'noop' to disable. -# image_cache_manager_interval=40 +# image_cache_manager_interval=0 #### (IntOpt) Number of periodic scheduler ticks to wait between runs of #### the image cache manager. diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 3759bb45e03c..d6faa8b6b4c7 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -128,7 +128,7 @@ compute_opts = [ "Valid options are 'noop', 'log' and 'reap'. " "Set to 'noop' to disable."), cfg.IntOpt("image_cache_manager_interval", - default=40, + default=0, help="Number of periodic scheduler ticks to wait between " "runs of the image cache manager."), cfg.IntOpt("heal_instance_info_cache_interval",