-
Notifications
You must be signed in to change notification settings - Fork 472
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
feat(core/redis): Replace client requests with connection pool #5117
Conversation
…redis_pool # Conflicts: # core/src/services/redis/backend.rs
That's correct, seems something changed in the js part. Let's me take a look. |
@@ -299,26 +290,39 @@ impl Debug for Adapter { | |||
} | |||
|
|||
impl Adapter { | |||
async fn conn(&self) -> Result<RedisConnection> { | |||
Ok(self | |||
async fn conn(&self) -> Result<bb8::PooledConnection<'_, RedisConnectionManager>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks a lot for this PR first. Have you communicated with the upstream first? I think it's a great feature that upstream might want to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your guidance. I have not yet contacted the upstream. I will try to submit the PR to the upstream to see if they will merge. I will modify and replace the connection pool with the upstream code in the another PR
Should be fixed by #5121 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Which issue does this PR close?
Replace client requests with connection pools
Closes #.
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?