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

blpop not compiling #98

Closed
repomaa opened this issue Jan 20, 2020 · 3 comments
Closed

blpop not compiling #98

repomaa opened this issue Jan 20, 2020 · 3 comments

Comments

@repomaa
Copy link

repomaa commented Jan 20, 2020

There's an issue with the blpop command. When trying to use it i get the following error:

In lib/redis/src/redis/commands.cr:917:47

 917 | result[0] = without_namespace("#{result.first}")
                                               ^----
Error: undefined method 'first' for Redis::Future
@repomaa
Copy link
Author

repomaa commented Jan 20, 2020

Specifically: using blpop inside a multi

@stefanwille
Copy link
Owner

Yes, this is a bug in a MULTI context. brpop has the same bug.

This bug is difficult to fix. I am not sure yet how I will do it.

@kostya
Copy link
Collaborator

kostya commented Apr 10, 2021

it should compile in 2.7.0, but seems in multi it will be runtime error, can you provide example and reopen if still fails.

@kostya kostya closed this as completed Apr 10, 2021
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

No branches or pull requests

3 participants