Skip to content

Commit

Permalink
Timeout on 2s for xml data
Browse files Browse the repository at this point in the history
  • Loading branch information
coreation committed May 3, 2017
1 parent ef4514e commit 7fcfc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Tdt/Core/DataControllers/XMLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function readData($source_definition, $rest_parameters = array())
$config = stream_context_create(array(
'http' => array(
'method' => 'GET',
'timeout' => 60,
'timeout' => 2,
)
));

Expand Down

0 comments on commit 7fcfc17

Please sign in to comment.