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

Modify redis_broker.go GetCelryMessage BLPOP to BRPOP #124

Merged
merged 2 commits into from
Sep 3, 2019

Conversation

actumn
Copy link
Contributor

@actumn actumn commented Aug 24, 2019

#123
I think it has to be BRPOP

Copy link

@danielchengml danielchengml left a comment

Choose a reason for hiding this comment

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

Agree! I just realized that too. Using BLPOP makes the list behave like a stack.

Just a minor change @actumn do you mind updating the broker_test.go file to reflect the BRPOP update?

...
messageJSON, err := conn.Do("BRPOP", tc.broker.queueName, "1")
...

Copy link

@danielchengml danielchengml left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@yoonsio yoonsio left a comment

Choose a reason for hiding this comment

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

lgtm!

@yoonsio yoonsio merged commit 6b67328 into gocelery:master Sep 3, 2019
yuikns added a commit to rcrai/gocelery that referenced this pull request Oct 8, 2019
Why:

- see: gocelery#124

How:

-

Related issues or links:

-
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.

None yet

3 participants