Skip to content

Commit 88a49a7

Browse files
committed
FFWEB-3187: Set timeout for ClientBuilder
Set timeout equal 10 second for ClientBuilder
1 parent 96ad2b1 commit 88a49a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Client/ClientBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function build(): ClientInterface
6262
'base_uri' => $this->serverUrl,
6363
'handler' => $handler,
6464
'headers' => ['Accept' => 'application/json'],
65+
'timeout' => 10,
6566
'http_errors' => false,
6667
];
6768

0 commit comments

Comments
 (0)