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

How to set the key written by the redissonclient to have an expiration time #878

Closed
yujuncai opened this issue Feb 10, 2023 · 2 comments
Closed

Comments

@yujuncai
Copy link

config.setStoreFactory(new RedissonStoreFactory(redissonClient));
when
client.set(USER_KEY, user);
The expiration time cannot be set

@mrniko
Copy link
Owner

mrniko commented Apr 14, 2023

You can extend RedissonStoreFactory and RedissonStore to use RMapCache object instead

@sandalovsergey
Copy link

@mrniko please see similar issue #982

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

3 participants