fixed timeouts on adding lots of maps at once
This commit is contained in:
parent
f624f54269
commit
626e5ee5d3
@ -100,7 +100,7 @@ class AsynchronousFileReader {
|
|||||||
protected function newRequest($url) {
|
protected function newRequest($url) {
|
||||||
$request = new Request($url);
|
$request = new Request($url);
|
||||||
$request->getOptions()
|
$request->getOptions()
|
||||||
->set(CURLOPT_TIMEOUT, 10)
|
->set(CURLOPT_TIMEOUT, 60)
|
||||||
->set(CURLOPT_HEADER, false) // don't display response header
|
->set(CURLOPT_HEADER, false) // don't display response header
|
||||||
->set(CURLOPT_CRLF, true) // linux line feed
|
->set(CURLOPT_CRLF, true) // linux line feed
|
||||||
->set(CURLOPT_ENCODING, '') // accept encoding
|
->set(CURLOPT_ENCODING, '') // accept encoding
|
||||||
|
Loading…
Reference in New Issue
Block a user