Skip to content

Commit

Permalink
Added timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
vldiark committed Nov 22, 2019
1 parent 76a98a6 commit ef37c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Base/Models/QueryModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public function setCurl()
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CONNECTTIMEOUT => 30,
CURLOPT_TIMEOUT => 60,
CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2
]);
if ($instance->hasSession()) {
Expand Down

0 comments on commit ef37c73

Please sign in to comment.