Skip to content
Permalink
Browse files

MDL-60838 core_search: File upload does not honour timeout

  • Loading branch information...
sammarshallou committed Nov 16, 2017
1 parent c099963 commit de874ead3997fc8b9799785d3d6e4f35853d7751
Showing with 3 additions and 0 deletions.
  1. +3 −0 search/engine/solr/classes/engine.php
@@ -1227,6 +1227,9 @@ public function get_curl_object() {
}
}
// 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)) {

0 comments on commit de874ea

Please sign in to comment.
You can’t perform that action at this time.