Without commit, if the local cache file is holding NIL for some reason, then the
resulted cache data used is nil as well.
This commit fixes by revoking the cache when the list of objects read from it is empty.
Differential D8685
phabricator/utils: Revoke the cache if it's invalid on disk ardumont on Oct 14 2022, 2:06 PM. Authored by Tags None Subscribers None
Details
Without commit, if the local cache file is holding NIL for some reason, then the This commit fixes by revoking the cache when the list of objects read from it is empty. Tested locally with file with NIL instead of actual data (i had the case for whatever reason).
Diff Detail
Event Timeline |