Skip to content

Commit

Permalink
Merge pull request #370 from Nosto/change_timeout_values
Browse files Browse the repository at this point in the history
Change timeout values
  • Loading branch information
supercid authored Sep 4, 2024
2 parents e2afd1c + f72ea23 commit b94f593
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Operation/AbstractOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ abstract class AbstractOperation
/**
* @var int timeout for waiting response from the api, in second
*/
private $responseTimeout = 5;
private $responseTimeout = 10;

/**
* @var int timeout for connecting to the api, in second
*/
private $connectTimeout = 5;
private $connectTimeout = 10;

/**
* @param Token|null $token
Expand Down
4 changes: 2 additions & 2 deletions src/Request/Http/Adapter/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ abstract class Adapter
/**
* @var int timeout for waiting response from the api, in second
*/
private $responseTimeout = 5;
private $responseTimeout = 10;

/**
* @var int timeout for connecting to the api, in second
*/
private $connectTimeout = 5;
private $connectTimeout = 10;

/**
* @var array the request headers.
Expand Down
4 changes: 2 additions & 2 deletions src/Request/Http/HttpRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ class HttpRequest
/**
* @var int timeout for waiting response from the api, in second
*/
private $responseTimeout = 5;
private $responseTimeout = 10;

/**
* @var int timeout for connecting to the api, in second
*/
private $connectTimeout = 5;
private $connectTimeout = 10;

/**
* @var string the request url.
Expand Down

0 comments on commit b94f593

Please sign in to comment.