We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea1f9e0 commit 1285ab5Copy full SHA for 1285ab5
1 file changed
src/Telemetry/Adapter/OpenTelemetry/Transport/Swoole.php
@@ -75,9 +75,9 @@ public function __construct(
75
);
76
$this->settings = [
77
'timeout' => $this->timeout,
78
- 'connect_timeout' => \min(1.0, $this->timeout),
79
- 'read_timeout' => \min(1.0, $this->timeout),
80
- 'write_timeout' => \min(1.0, $this->timeout),
+ 'connect_timeout' => \max(0.5, $this->timeout),
+ 'read_timeout' => \max(1.0, $this->timeout),
+ 'write_timeout' => \max(1.0, $this->timeout),
81
'keep_alive' => true,
82
'open_tcp_nodelay' => true,
83
'open_tcp_keepalive' => true,
0 commit comments