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

在使用redis集群模式的时候,获取accesstoken 会报错。 #3378

Open
CCGary opened this issue Sep 29, 2024 · 1 comment
Open

在使用redis集群模式的时候,获取accesstoken 会报错。 #3378

CCGary opened this issue Sep 29, 2024 · 1 comment

Comments

@CCGary
Copy link

CCGary commented Sep 29, 2024

因为redis集群不支持管道操作, RedisTemplateSimpleDistributedLock 类里面 tryLock 方法, List redisResults = this.redisTemplate.executePipelined((connection) -> { , 这一段代码使用了 executePipelined 管道。所以会报错,看下能否支持一下redis集群模式。谢谢

@CCGary
Copy link
Author

CCGary commented Sep 29, 2024

我先试下更改redis的客户端试一下。

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