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

perf: use dedicated connections for DoMulti() with 2000+ commands by default #631

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

rueian
Copy link
Collaborator

@rueian rueian commented Sep 4, 2024

Related to #626

Automatically switch to use dedicated connections for DoMulti() with 2000+ commands by default to avoid head-of-line blocking. The threshold can be adjusted with the new BlockingPipeline option.

The switch is done at the mux level so that users don't need to use Dedicated manually and no more cross slot errors.

@rueian rueian marked this pull request as ready for review September 4, 2024 08:37
@rueian rueian merged commit 5135acd into main Sep 5, 2024
54 checks passed
@rueian rueian deleted the perf-long-pipline branch October 2, 2024 05:03
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

Successfully merging this pull request may close these issues.

1 participant