From: Louis Jeckel Date: Thu, 3 Dec 2020 11:55:54 +0000 (+0100) Subject: log X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9c663cd58c64d481e343ca743e8b0e3a67039595;p=psq.git log --- diff --git a/app/Invokables/GetPageTitleFromUrl.php b/app/Invokables/GetPageTitleFromUrl.php index 1bb8b35..1e0e8a2 100644 --- a/app/Invokables/GetPageTitleFromUrl.php +++ b/app/Invokables/GetPageTitleFromUrl.php @@ -28,6 +28,10 @@ class GetPageTitleFromUrl curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); + + curl_setopt($ch, CURLOPT_TIMEOUT, 10); + $str = curl_exec($ch); curl_close($ch);