ivoleitao / stash

Key-value store abstraction with plain and cache driven semantics and a pluggable backend architecture.
MIT License
86 stars 16 forks source link

donotmerge, invalid PR -- pply new expirtyDuration on updateEntry if provided #16

Closed ilikerobots closed 3 years ago

ilikerobots commented 3 years ago

Status

HOLD

Breaking Changes

NO

Description

Updating a cache entry with a specified expiryDuration currently doesn't apply the new expiryDuration. So once a expiry is set, there is no way to update the expiry except by removing the entry and adding anew. Changes in PR cause the new expiryDuration to be respected.

I'm not sure precisely of the intended behavior, so I'd appreciate your feedback.

Related PRs

List related PRs against other branches:

Todos