HomeSoftware Heritage

phabricator/utils: Revoke the cache if it's invalid on disk

Description

phabricator/utils: Revoke the cache if it's invalid on disk

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.

Details

Provenance
ardumontAuthored on Oct 14 2022, 2:04 PM
ardumontPushed on Oct 14 2022, 3:21 PM
Parents
R263:ffacf738b121: Improve the handling of issue actions to clean the activity feed
Branches
Unknown
Tags
Unknown