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

Feat: Add possibility to refresh Cache, regardless of TTL #211

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

michael-schmetter
Copy link
Contributor

Description

This pull request introduces a new refreshCache functionality, designed to proactively refresh specific cached items before their TTL (time-to-live) expires. This enhancement ensures that our application maintains up-to-date data in the cache, minimizing the likelihood of cache misses.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • Unit tests

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

src/DefaultProxyUnleash.php Outdated Show resolved Hide resolved
src/Repository/DefaultUnleashRepository.php Outdated Show resolved Hide resolved
src/Repository/UnleashRepository.php Outdated Show resolved Hide resolved
src/Unleash.php Outdated Show resolved Hide resolved
tests/Repository/DefaultUnleashRepositoryTest.php Outdated Show resolved Hide resolved
@michael-schmetter michael-schmetter force-pushed the feat/refresh-cache branch 2 times, most recently from 310884e to c1865bd Compare July 2, 2024 08:28
@RikudouSage RikudouSage merged commit 1401ffe into Unleash:main Jul 4, 2024
12 checks passed
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.

3 participants