Propose adding

curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,0);
curl_setopt($ch, CURLOPT_TIMEOUT, 400); //timeout in seconds

to the $options array so we can alter the timeouts.

Trying to prevent a hanging REST API call.

Comments

rtdean93 created an issue. See original summary.

klabowterman’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.