stefanwille / crystal-redis

Full featured Redis client for Crystal
MIT License
380 stars 61 forks source link

Closing a blocked client #74

Closed vladfaust closed 5 years ago

vladfaust commented 5 years ago

Hello,

If I block the client with redis.blpop and then call redis.close (presumably in another fiber), the client connection isn't closed and still blocks. Any workaround here?

vladfaust commented 5 years ago

Actually, https://redis.io/commands/client-kill and https://redis.io/commands/client-unblock work, but they should be send from another client