Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues open on github #20

Merged
merged 3 commits into from
Dec 16, 2015
Merged

Fix issues open on github #20

merged 3 commits into from
Dec 16, 2015

Conversation

VincentCasse
Copy link
Member

Fix some open issues on github

@@ -128,6 +128,8 @@ public function __construct(

if (!isset($http_client)) {
$http_client = new GClient();
$http_client->setDefaultOption('timeout', 30);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some API calls may take up to 5min. While this is an edge case, it may impact some of the developers needing the most an API. As the connect_timeout is a separate parameter, I'd increase it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the default configuration. But you can put your own Gclient with custom timeout if you want. I add it into the documentation

Signed-off-by: Vincent Casse <vincent.casse@corp.ovh.com>
@yadutaf
Copy link
Contributor

yadutaf commented Dec 16, 2015

LGTM

yadutaf added a commit that referenced this pull request Dec 16, 2015
Fix issues open on github

Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@corp.ovh.com>
@yadutaf yadutaf merged commit efd7703 into ovh:master Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants