fixed timeouts on adding lots of maps at once

This commit is contained in:
kremsy 2014-07-04 18:03:18 +02:00
parent f624f54269
commit 626e5ee5d3

View File

@ -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