Significantly extend the timeout for SPARQL queries to Wikidata
This commit is contained in:
parent
87fd2a25df
commit
6d60d9eec7
|
@ -191,7 +191,7 @@ final class NodaWikidataFetcher {
|
|||
public static function sparqlQuery(string $sparqlQuery):array {
|
||||
|
||||
$url = 'https://query.wikidata.org/sparql?query=' . urlencode($sparqlQuery);
|
||||
$result = MD_STD::runCurl($url, 10000, self::WIKIDATA_FETCH_HEADERS);
|
||||
$result = MD_STD::runCurl($url, 100000000, self::WIKIDATA_FETCH_HEADERS);
|
||||
|
||||
return json_decode($result, true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user