mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-60838-master' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
8000e6af01
@ -1227,6 +1227,9 @@ class engine extends \core_search\engine {
|
||||
}
|
||||
}
|
||||
|
||||
// Set timeout as for Solr client.
|
||||
$options['CURLOPT_TIMEOUT'] = !empty($this->config->server_timeout) ? $this->config->server_timeout : '30';
|
||||
|
||||
$this->curl->setopt($options);
|
||||
|
||||
if (!empty($this->config->server_username) && !empty($this->config->server_password)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user