Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

prefetch support #64

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

prefetch support #64

wants to merge 4 commits into from

Conversation

sundbry
Copy link

@sundbry sundbry commented Jun 25, 2020

No description provided.

Ryan Sundberg added 2 commits June 25, 2020 17:02
@@ -70,6 +71,10 @@ def start
@connection.start
@channel = @connection.create_channel

if @prefetch > 0

Choose a reason for hiding this comment

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

Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||.
Style/NumericPredicate: Use @prefetch.positive? instead of @prefetch > 0.

@warmfusion
Copy link
Collaborator

@sundbry - Can you resolve the merge conflicts for me please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants