Skip to content

Commit 115545e

Browse files
committed
fix(php): relax websocket connect timeout for parity CI
1 parent 2581875 commit 115545e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

php/src/CodeBridge/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ private function connectOnce(): void {
7979
$this->connected = false;
8080
$this->ws = new WSClient($this->config->url, [
8181
'headers' => ['X-Bridge-Secret: ' . $this->config->secret],
82-
// short timeout so heartbeat timeout can fire
83-
'timeout' => 0.5,
82+
// modest timeout; reconnection/backoff will handle failures
83+
'timeout' => 2,
8484
]);
8585

8686
$this->sendRaw(['type' => 'auth', 'secret' => $this->config->secret, 'role' => 'bridge']);

0 commit comments

Comments
 (0)