Skip to content

Commit

Permalink
Merge pull request #89 from fcastilloes/master
Browse files Browse the repository at this point in the history
Increase call timeouts
  • Loading branch information
fcastilloes committed Nov 7, 2017
2 parents 3f11ff7 + 3aabaa7 commit 5a4ec67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.2.8] - 2017-11-07
## Changed
- Increase call timeouts

## [1.2.7] - 2017-11-02
## Fixed
- Add request ID in logs
Expand Down
4 changes: 2 additions & 2 deletions src/Api/ActionApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function call(
string $action,
array $params = [],
array $files = [],
int $timeout = 1000
int $timeout = 10000
) {
$address = 'ipc://@katana-' . preg_replace(
'/[^a-zA-Z0-9-]/',
Expand Down Expand Up @@ -478,7 +478,7 @@ public function remoteCall(
string $action,
array $params = [],
array $files = [],
int $timeout = 1000
int $timeout = 10000
): Action {
$serviceSchema = $this->getServiceSchema($this->name, $this->version);
$actionSchema = $serviceSchema->getActionSchema($this->actionName);
Expand Down
2 changes: 1 addition & 1 deletion src/Messaging/RuntimeCaller/ZeroMQRuntimeCaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function call(
string $address,
array $params = [],
array $files = [],
int $timeout = 1000
int $timeout = 10000
) {
$message = $this->runtimeCallWriter->writeRuntimeCall(
$action,
Expand Down

0 comments on commit 5a4ec67

Please sign in to comment.