Skip to content

Conversation

@markus-s24
Copy link

I implemented blpop and brpop. But blocking is not easy to implement in SimpleRedisServer, because netty seems to hang if an operation blocks. So the timeout feature is restricted to always wait just for 100 ms.

There is also an issue with the method signature. I added the missing byte[] timeout1 parameter, but the timeout is still present as the last key in key0. Furthermore I am not sure how to decode String from byte[]. Is the encoding always the system encoding or always UTF-8?

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