fix(medusa): Remove redundant redis delete call when invalidating cache entryies (#2943)
This commit is contained in:
committed by
GitHub
parent
3d200c41f9
commit
0b14814d5a
@@ -54,7 +54,6 @@ export default class CacheService implements ICacheService {
|
||||
* @param key
|
||||
*/
|
||||
async invalidate(key: string): Promise<void> {
|
||||
await this.redis_.del()
|
||||
const keys = await this.redis_.keys(key)
|
||||
const pipeline = this.redis_.pipeline()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user