Skip to content

Commit 3ef5990

Browse files
committed
fix: removed cache pruning
1 parent 82fa784 commit 3ef5990

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Diff for: packages/parameters/src/BaseProvider.ts

+1-9
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,7 @@ abstract class BaseProvider implements BaseProviderInterface {
114114
*/
115115
private hasKeyExpiredInCache(key: string): boolean {
116116
const value = this.store.get(key);
117-
if (value) {
118-
if (value.isExpired()) {
119-
this.store.delete(key);
120-
121-
return true;
122-
}
123-
124-
return value.isExpired();
125-
}
117+
if (value) return value.isExpired();
126118

127119
return true;
128120
}

0 commit comments

Comments
 (0)