Skip to content

EasyCaching cache get expired in 2 weeks when service traffic is low #520

Open
@garfage

Description

@garfage

Description

EasyCaching cache get expired in 2 weeks when service traffic is low

Steps to Reproduce

  1. Set in-memory cache A with expired time in one year (easyCaching version, 1.4.1, 1.9.2, both of them has this issue)
  2. Cache refresh every hour by using background cron job
  3. Deploy the service to Kubernetes which is low traffic
  4. After 14 days later, the cache expired

Expected behavior: Cache should never get expired

Actual behavior: Cache expired in 14 days after deployment, get back to normal after redeploy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions