We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a780663 commit e3e5f77Copy full SHA for e3e5f77
‎src/cache/storage-cache.ts‎
@@ -167,12 +167,6 @@ export class StorageCache implements ContactCache {
167
} catch (error) {
168
this.log(`[${anonymizeKey(key)}] Error while refreshing value`, error);
169
throw error;
170
- } finally {
171
- //in any case we need to reset the cacheItemState to prevent loop of fetching state
172
- await this.storage.set<CacheItemState>(this.getCacheItemKey(key), {
173
- state: CacheItemStateType.CACHED,
174
- updated: Date.now(),
175
- });
176
}
177
178
0 commit comments