Cut 30s vrom the knife completion init time.
parent
bcc3f4080b
commit
889259dfec
|
|
@ -98,7 +98,8 @@ _KAC_clean_cache()
|
||||||
}
|
}
|
||||||
|
|
||||||
# perform a cache cleaning when loading this file
|
# perform a cache cleaning when loading this file
|
||||||
_KAC_clean_cache
|
# On big systems this could baloon up to a 30 second run or more, so not enabling by default.
|
||||||
|
[[ "${KNIFE_CACHE_CLEAN}" ]] && _KAC_clean_cache
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
### End of cache helper functions ###
|
### End of cache helper functions ###
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue