Updated request timeout Again.
This commit is contained in:
parent
413a48e8bb
commit
b5c162db0b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ final class WebLookup implements \Uiharu\ILookup {
|
||||||
CURLOPT_CONNECTTIMEOUT => 2,
|
CURLOPT_CONNECTTIMEOUT => 2,
|
||||||
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
||||||
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
CURLOPT_REDIR_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS,
|
||||||
CURLOPT_TIMEOUT => 3,
|
CURLOPT_TIMEOUT => 5,
|
||||||
CURLOPT_DEFAULT_PROTOCOL => 'https',
|
CURLOPT_DEFAULT_PROTOCOL => 'https',
|
||||||
CURLOPT_USERAGENT => 'Mozilla/5.0 (compatible) Uiharu/' . UIH_VERSION,
|
CURLOPT_USERAGENT => 'Mozilla/5.0 (compatible) Uiharu/' . UIH_VERSION,
|
||||||
CURLOPT_HTTPHEADER => [
|
CURLOPT_HTTPHEADER => [
|
||||||
|
|
Loading…
Reference in a new issue