Skip to content

Commit

Permalink
added timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 29, 2017
1 parent 757269d commit dfd71e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Dandomain/Api/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ public function call($method = 'GET', $uri, $options = array()) {
'Accept' => 'application/json',
),
'verify' => false,
'connect_timeout' => 60,
'timeout' => 600,
);

$options = array_merge($defaultOptions, $options);
Expand Down

0 comments on commit dfd71e1

Please sign in to comment.