Enable glance cache prefetcher interval
As new periodic job added in glance which will run as per interval set using 'cache_prefetcher_interval' configuration option and fetch images which are queued for caching in cache directory. Added GlanceImagePrefetcherInterval to configure 'cache_prefetcher_interval' configuration option in glance-api.conf when glance cache is enabled. Depends-on: I8ece28a9b0c6f104130d817490e9ea4c2b4e7808 Change-Id: I5294f7b9984ef0b59f505819e2ce95c41e69d3c8
This commit is contained in:
parent
a8679593af
commit
13b06b5248
@ -105,6 +105,11 @@ parameters:
|
||||
without being accessed.
|
||||
type: number
|
||||
default: 86400
|
||||
GlanceImagePrefetcherInterval:
|
||||
description: >
|
||||
The interval in seconds to run periodic job cache_images.
|
||||
type: number
|
||||
default: 300
|
||||
GlanceNfsShare:
|
||||
default: ''
|
||||
description: >
|
||||
@ -498,6 +503,7 @@ outputs:
|
||||
- glance::api::image_cache_dir: {get_param: GlanceImageCacheDir}
|
||||
glance::api::image_cache_max_size: {get_param: GlanceImageCacheMaxSize}
|
||||
glance::api::image_cache_stall_time: {get_param: GlanceImageCacheStallTime}
|
||||
glance::api::cache_prefetcher_interval: {get_param: GlanceImagePrefetcherInterval}
|
||||
- {}
|
||||
-
|
||||
if:
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add GlanceImagePrefetcherInterval parameter to run periodic job
|
||||
which fetches the queued images for caching in cache directory,
|
||||
when image cache is enabled.
|
Loading…
x
Reference in New Issue
Block a user