Skip to content

Comments

[optimize] 优化CacheValue过期时间处理#39

Open
aruato wants to merge 1 commit intoxuxueli:masterfrom
aruato:optimize_CacheValue
Open

[optimize] 优化CacheValue过期时间处理#39
aruato wants to merge 1 commit intoxuxueli:masterfrom
aruato:optimize_CacheValue

Conversation

@aruato
Copy link
Contributor

@aruato aruato commented Aug 27, 2025

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • [√] Refactor
  • Build-related changes
  • Other, please describe:

The description of the PR:
现在的方案,对于未设置过期的key,survivalTime和expirationTime字符串比较长,会浪费Redis的内存空间,优化为保存-1的方式,节省空间

Other information:

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