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

T15485 cache ttl #15751

Merged
merged 5 commits into from
Nov 3, 2021
Merged

T15485 cache ttl #15751

merged 5 commits into from
Nov 3, 2021

Conversation

niden
Copy link
Sponsor Member

@niden niden commented Nov 1, 2021

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Added setForever() for cache/storage adapters
Setting a key with 0 or negative TTL will delete the key (expired)

Thanks

@niden niden changed the base branch from master to 5.0.x November 1, 2021 21:08
@niden niden requested a review from Jeckerson November 1, 2021 21:08
@niden niden self-assigned this Nov 1, 2021
@niden niden added 5.0 The issues we want to solve in the 5.0 release bug A bug report status: medium Medium labels Nov 1, 2021
@niden niden merged commit bdb1504 into phalcon:5.0.x Nov 3, 2021
@niden niden deleted the T15485-cache-ttl branch November 3, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 The issues we want to solve in the 5.0 release bug A bug report status: medium Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: The expiration iImplementing of the Cache adapter is inconsistent.
2 participants