Skip to content

Conversation

@vladvildanov
Copy link
Contributor

The goal of this PR is to enhance pipelines to make them "real" pipelines. For now all commands are still pushed into socket one by one. Instead of this, the behaviour was changed to create a buffer from pipelined commands and push them all at once.

@coveralls
Copy link

coveralls commented Mar 4, 2024

Coverage Status

coverage: 92.613% (+0.08%) from 92.534%
when pulling 92bfd7c on vladvildanov:vv-pipeline-fix
into 8b464f2 on predis:main.

Copy link
Member

@tillkruss tillkruss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is excellent. Does it have any implication with Relay, since write() isn't supported?

@vladvildanov
Copy link
Contributor Author

@tillkruss I don't think it has, Relay is an another layer above connection that does not provide an API for direct socket communication. Also, RelayPipeline overrides executePipeline() method, so the parent class changes does not affect it

@vladvildanov vladvildanov merged commit 40d72d7 into predis:main Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants