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

fix: 修改demo-ervice-cache装饰器的传参为5000,与注释5秒一致 #182

Open
wants to merge 1 commit into
base: 7.x
Choose a base branch
from

Conversation

miraizhao
Copy link

问题描述

当前代码中的 CoolCache 装饰器参数设置为 5 毫秒,但注释说明数据缓存时间应为 5 秒。为了确保缓存时间符合预期,需要将参数修改为 5000 毫秒。

解决方案

  • CoolCache 装饰器的参数从 5 修改为 5000 毫秒,以确保数据缓存时间为 5 秒。

测试

  • 已在本地环境中测试,确保缓存时间确实为 5 秒。
  • 确认修改后功能正常,未引入新的问题。

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.

1 participant