Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function createCurlArgs(string $payload): string
{
$scheme = $this->_ssl ? "https://" : "http://";
$args = " -X POST";
$args.= " --connect-timeout " . $this->_connectTimeout;
$args.= " --max-time " . $this->_connectTimeout;
Copy link
Member

Choose a reason for hiding this comment

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

The LDClient config already allows specifying both a connect_timeout and a max length timeout parameter. We use that timeout parameter in the existing Guzzle client.

Can you update this so that we still support the connect time parameter as before, and also add the max time flag hooked up to that value?


foreach ($this->_eventHeaders as $key => $value) {
if ($key == 'Authorization') {
Expand Down
Loading