framework icon indicating copy to clipboard operation
framework copied to clipboard

标签内的缓存标识列表为空时,不调用 clearTag 方法

Open big-dream opened this issue 11 months ago • 1 comments

#2989 目前清理缓存时,如果对应的缓存标签下没有缓存,会触发报错:

ERR wrong number of arguments for 'del' command

https://github.com/top-think/framework/blob/aa334db11af944d114d2ec79cd986554ed80c274/src/think/cache/TagSet.php#L103-L120

https://github.com/top-think/framework/blob/aa334db11af944d114d2ec79cd986554ed80c274/src/think/cache/driver/Redis.php#L205-L215

big-dream avatar Mar 20 '24 04:03 big-dream

预计什么时候可以合并呀

ZoftTy avatar Mar 28 '24 03:03 ZoftTy

@big-dream

ZoftTy avatar May 13 '24 09:05 ZoftTy

thank you

ZoftTy avatar May 13 '24 09:05 ZoftTy