Set LinkedIn API request timeout to 5 seconds because the API can be slow. #410

Merged
merged 1 commit into from Mar 19, 2015

Projects

None yet

2 participants

@klausi
Contributor
klausi commented Mar 5, 2015

Problem: sometimes LinkedIn API requests take forever, so the PHP process is blocked waiting for a response. But we don't want to run into timeouts on our end, so we can simply restrict the timeout and HybridAuth will deal with potential errors appropriately :-)

@StorytellerCZ StorytellerCZ added this to the 2.x milestone Mar 5, 2015
@StorytellerCZ StorytellerCZ merged commit 6ebcf37 into hybridauth:master Mar 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment