#psubscribe exiting on message

3 messages · Page 1 of 1 (latest)

dusty geyser
#

hi folks, so out of nowhere Redis::psubscribe(['*'], ...) has stopped working for me.

there is no logged error, just on any message it quits out right away. I've verified that running the messages are unchanged.

for example, this set up in a command:

$fcr = Redis::connection('test'); $fcr->psubscribe(['*'], function (string $message, string $channel): void { Log::info('hello'); $this->info('world'); });

dies the second a message comes in, and offers no error output whatsoever.

dusty geyser
#

Okay, upon further investigation it looks like an issue with php redis v6. reverting to 5.3.7 resolved the issue

#

however, it would be nice to know what is the actual underlying issue