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 30d709d commit f40e6b1Copy full SHA for f40e6b1
PhpAmqpLib/Wire/IO/SwooleIO.php
@@ -34,9 +34,13 @@ public function __construct(
34
$keepalive = false,
35
$heartbeat = 0
36
) {
37
+ /*
38
+ TODO FUTURE enable this check
39
if ($heartbeat !== 0 && ($read_write_timeout < ($heartbeat * 2))) {
40
throw new \InvalidArgumentException('read_write_timeout must be at least 2x the heartbeat');
41
}
42
+ */
43
+
44
$this->host = $host;
45
$this->port = $port;
46
$this->connection_timeout = $connection_timeout;
0 commit comments