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

支持忽略反序列化数据时的异常 #3056 #3068

Closed
wants to merge 1 commit into from

Conversation

big-dream
Copy link
Contributor

支持反序列化缓存数据时,忽略异常,提高缓存可用性。

在缓存配置中,把 stores.file.serialize[2] 设置为 true 时,反序列化缓存数据失败则不抛出异常,然后删除缓存,最后返回默认值。

@liu21st liu21st closed this Oct 9, 2024
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

Successfully merging this pull request may close these issues.

缓存读取报错:unserialize(): Error at offset 2 of 24544 bytes
2 participants