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

trying to update the expiry map with value and expiry time for the same key. But the message expires in 60seconds(previous time) rather than 5sec(new time) #89

Open
ArundhatiPathak opened this issue Jun 19, 2024 · 0 comments

Comments

@ArundhatiPathak
Copy link

ArundhatiPathak commented Jun 19, 2024

The value is added to the map

map.put("key1","value1",ExpirationPolicy.CREATED, 30, TimeUnits.SECONDS);

then i want to update this key with the new value and expiration time like -

map.put("key1","value2",ExpirationPolicy.CREATED, 5, TimeUnits.SECONDS);

but the values expires in 30 seconds rather it should expire in 5 seconds.

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

No branches or pull requests

1 participant