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

请问BRPopLPush怎么启用事务 #519

Open
my6521 opened this issue Dec 17, 2024 · 4 comments
Open

请问BRPopLPush怎么启用事务 #519

my6521 opened this issue Dec 17, 2024 · 4 comments

Comments

@my6521
Copy link

my6521 commented Dec 17, 2024

如题

@2881099
Copy link
Owner

2881099 commented Dec 18, 2024

先理解这个命令,有什么用

@my6521
Copy link
Author

my6521 commented Dec 18, 2024

请问这个命令队列为空会抛异常吗?
image
BRPOPLPUSH 是 RPOPLPUSH 的阻塞版本,当给定列表 source 不为空时, BRPOPLPUSH 的表现和 RPOPLPUSH 一样。当列表 source 为空时, BRPOPLPUSH 命令将阻塞连接,直到等待超时,或有另一个客户端对 source 执行 LPUSH 或 RPUSH 命令为止。

@2881099
Copy link
Owner

2881099 commented Dec 18, 2024

正常不会,建议过渡到 FreeRedis,精力有限只能顾一边。

@my6521
Copy link
Author

my6521 commented Dec 19, 2024

FreeRedis和csredis是什么关系,FreeRedis是新架构吗?

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

2 participants