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.
1 parent 4d3f510 commit 62f97edCopy full SHA for 62f97ed
PhpAmqpLib/Wire/IO/StreamIO.php
@@ -235,7 +235,7 @@ public function read($len)
235
if ($wait_buffer_count > self::READ_BUFFER_LIMIT) {
236
// No bytes has been being read during READ_BUFFER_WAIT_INTERVAL * READ_BUFFER_LIMIT seconds.
237
// We assume the connection hangs if the timeout is set.
238
- throw new AMQPTimeoutException('Too many read attempts detected in StreamIO');
+ throw new AMQPRuntimeException('Too many read attempts detected in StreamIO');
239
}
240
$this->select(0, self::READ_BUFFER_WAIT_INTERVAL);
241
pcntl_signal_dispatch();
0 commit comments