Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

hotfix : Redis.addItem TTL #40

Conversation

jbottigliero
Copy link
Contributor

  • Updates the Redis adapter's internalAddItem method to utilize TTL configuration.

I do have a Redis adapter specific test ready to be merged in, here.

However, I wasn't sure if it's something that should actually be placed into the CommonAdapterTest as other adapters are utilizing the functionality, but it's not explicitly being tested (ttl via addItem specifically) as far as I can tell.

@marc-mabe marc-mabe self-assigned this Nov 3, 2015
@marc-mabe
Copy link
Member

Thanks for your PR.

Yes please add a test case in CommonAdapterTest - as all adapter supporting that feature should work the same or differences should be notable by Capabilities.

Your linked test looks fine 👍

@marc-mabe marc-mabe added the bug label Nov 4, 2015
@marc-mabe marc-mabe added this to the 2.5.4 milestone Nov 4, 2015
…dItemSetsExpires

test : Adds CommonAdapterTest.testAddItemSetsTTL
@jbottigliero
Copy link
Contributor Author

Updated PR to include CommonAdapterTest.testAddItemSetsTTL – let me know if this isn't what you had in mind!

@marc-mabe marc-mabe merged commit 7bf6be9 into zendframework:master Nov 6, 2015
marc-mabe added a commit that referenced this pull request Nov 6, 2015
marc-mabe added a commit that referenced this pull request Nov 6, 2015
@marc-mabe
Copy link
Member

merged thanks!

remicollet pushed a commit to remicollet/zend-cache that referenced this pull request Nov 12, 2015
@marc-mabe marc-mabe modified the milestones: 2.6.0, 2.5.4 Feb 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants