jhthorsen / mojo-redis

Non-blocking Redis driver using Mojo::IOLoop
https://metacpan.org/pod/Mojo::Redis
14 stars 11 forks source link

Pubsub psubscribe fix #63

Closed mikemagowan closed 3 years ago

mikemagowan commented 3 years ago

Quick fix (and test) to get psubscribe working. Current code assumes a 'message' response from Redis but when a channel is psubscribed it returns a 'pmessage' response which has an additional element (original glob as well as the actual channel name)