We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2581875 commit 115545eCopy full SHA for 115545e
1 file changed
php/src/CodeBridge/Client.php
@@ -79,8 +79,8 @@ private function connectOnce(): void {
79
$this->connected = false;
80
$this->ws = new WSClient($this->config->url, [
81
'headers' => ['X-Bridge-Secret: ' . $this->config->secret],
82
- // short timeout so heartbeat timeout can fire
83
- 'timeout' => 0.5,
+ // modest timeout; reconnection/backoff will handle failures
+ 'timeout' => 2,
84
]);
85
86
$this->sendRaw(['type' => 'auth', 'secret' => $this->config->secret, 'role' => 'bridge']);
0 commit comments