Skip to content
New issue

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

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

Already on GitHub? # to your account

避免在JeecgRedisCacheWriter中使用KEYS命令 #6907

Closed
loong95 opened this issue Jul 16, 2024 · 0 comments
Closed

避免在JeecgRedisCacheWriter中使用KEYS命令 #6907

loong95 opened this issue Jul 16, 2024 · 0 comments

Comments

@loong95
Copy link

loong95 commented Jul 16, 2024

版本号:

Jeecg-boot-common:3.7.0

问题描述:

生产环境redis会禁用keys命令,而JeecgRedisCacheWriter中的clean和delete使用了keys命令,能否使用scan替代?
或者应该支持配置org.springframework.data.redis.cache.BatchStrategies中的KEYS或SCAN策略

错误截图:
image image

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants