dotnetcore / dotnetcore/EasyCaching

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

Open
#520 2 comments 0 reactions 0 assignees View on GitHub
area-inmemory need-more-information
Dominant language
C#
Stars
2.1k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.