Hello, is `refresh_cache` supposed to reset the va...
# ask-community
n
Hello, is
refresh_cache
supposed to reset the value of
cache_expiration
as well? From my tests it does not, is this intended or an issue?
1
@Jeff Hale could you clarify this?
j
I believe what you are observing is the intended behavior. There is a setting you can use to refresh cached results.
n
it does refresh the results, but how is it possible to refresh the
cache_expiration
? if for instance you set the
cache_expiration=10h
, and after 9h you refresh the cache with
refresh_cache=True
, the cache will still expire 1h after that, instead of resetting the cache expiration date to 10h from the moment a refresh is made.