Skip to content

Commit

Permalink
Merge pull request #1 from LasseRafn/patch-1
Browse files Browse the repository at this point in the history
Update PrestaShopClass.php
  • Loading branch information
kg-bot authored Sep 30, 2020
2 parents 5160d47 + 49c87dc commit b391509
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Classes/PrestaShopClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ protected function executeRequest( $url, $curl_params = [] )
CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
CURLOPT_USERPWD => $this->key . ':',
CURLOPT_HTTPHEADER => [ 'Expect:' ],
CURLOPT_TIMEOUT => 20,
CURLOPT_CONNECTTIMEOUT => 10,
];

$session = curl_init( $url );
Expand Down Expand Up @@ -521,4 +523,4 @@ public function delete( $options )

return true;
}
}
}

0 comments on commit b391509

Please sign in to comment.