Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add timeouts for cURL request

#3
// 500ms timeout - should be quick enough, tests show around 300ms-450ms
curl_setopt( $c, CURLOPT_CONNECTTIMEOUT_MS, 500 ); 
 
// 1 second timeout for the entire transaction
curl_setopt( $c, CURLOPT_TIMEOUT, 1 );

Reported by Remy Sharp

Need a way to fallback to the cache if it exists.

Reported by George Ornbo · August 10th, 2009 @ 11:20 AM

State: resolved
Milestone: none
Assigned to: George Ornbo George Ornbo

Activity

  1. George Ornbo
    George Ornbo
    • State changed from new to resolved

    Didn't add CURLOPT_CONNECTTIMEOUT_MS option as this has only been available since PHP 5.2.3

    August 23rd, 2009 @ 07:18 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.