redis/redis-rb — pull request #329 by Somebody32 (2013-03-25 15:37:45+00:00)
Title: Added subscriptions with timeout

Hi,

I've added subscribe and psubscribe with timeout methods. That is useful when publisher could die for an any reason and subscriber should not hang endlessly waiting.

So if there is no data published for a timeout period then Redis::Timeout error will be raised.