Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片缓存失败导致的无效瓶子 #71

Closed
Icexbb opened this issue May 24, 2024 · 0 comments
Closed

图片缓存失败导致的无效瓶子 #71

Icexbb opened this issue May 24, 2024 · 0 comments

Comments

@Icexbb
Copy link
Contributor

Icexbb commented May 24, 2024

有些时候一些原因(比如腾讯图片服务器缓存图片延时)导致在存储瓶子的时候通过url无法获取到图片 请求404
但是没有判断图片缓存是否成功 此时会生成一个空缓存文件
此时仍会对该请求缓存并生成瓶子 缓存内容为空
这些生成的瓶子由于图片无法被读取导致发送错误报错

在下一次该用户再一次遇到该问题时 由于空字节内容的md5相同 瓶子内容相同 导致瓶子生成失败 发送“你的瓶子以奇怪的方式消失掉了!”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant