Selectors cache is not being cleaned instantly when a dependency is cleaned using "force"
javierbrea opened this issue · 0 comments
javierbrea commented
Selectors are not cleaning instantly its cache when a dependency is cleaned using the force
option. They should clean their cache instantly when any of their dependencies is cleaned using the force
option.
To Reproduce
Configure the cleanCacheThrottle
option in all providers and selectors to 5 seconds. Set an interval to clean a selector cache for each two seconds. The cleanCache
method of the selector will be throttled then, so its cache will be cleaned each 5 seconds. Then, call to the cleanCache
method of one of the selector's dependencies using the force
option. The selector's dependency should also be cleaned instantly, but it remains throttled.