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

从连接池负载满后,等待线程的处理方式是sleep+自旋等待? #66

Open
OdysseyHJ opened this issue May 30, 2023 · 2 comments

Comments

@OdysseyHJ
Copy link

目前从下方接口看,连接池满载后,等待线程的处理方式是sleep+自旋等待,我觉得这里对性能会有影响
RedisConnection* xRedisClusterManager::getConnection(uint32_t idx)

@OdysseyHJ
Copy link
Author

@0xsky

@0xsky
Copy link
Owner

0xsky commented Jun 13, 2023

这个地方,返回错误??或是有什么好的思路么?

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