We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b38e40a + 62cb949 commit 499360eCopy full SHA for 499360e
pkg/amqp-bunny/AmqpSubscriptionConsumer.php
@@ -47,7 +47,7 @@ public function consume(int $timeout = 0): void
47
try {
48
$this->context->getBunnyChannel()->getClient()->run(0 !== $timeout ? $timeout / 1000 : null);
49
} catch (ClientException $e) {
50
- if ('stream_select() failed.' == $e->getMessage() && $signalHandler->wasThereSignal()) {
+ if (0 === strpos($e->getMessage(), 'stream_select() failed') && $signalHandler->wasThereSignal()) {
51
return;
52
}
53
0 commit comments