mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 12:10:08 +00:00
increase API timeout
This commit is contained in:
parent
c0a0533b10
commit
c511214aed
@ -493,7 +493,7 @@ class plagiarism_pchkorg_api_provider {
|
||||
'CURLOPT_SSL_VERIFYHOST' => false,
|
||||
'CURLOPT_SSL_VERIFYPEER' => false,
|
||||
// The maximum number of seconds to allow cURL functions to execute.
|
||||
'CURLOPT_TIMEOUT' => 2
|
||||
'CURLOPT_TIMEOUT' => 8
|
||||
));
|
||||
|
||||
if ($json = json_decode($response)) {
|
||||
|
@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
if (!isset($plugin)) {
|
||||
$plugin = new stdClass();
|
||||
}
|
||||
$plugin->version = 2022102718;
|
||||
$plugin->version = 2022103112;
|
||||
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
||||
$plugin->release = 'v3.12.1';
|
||||
$plugin->release = 'v3.12.2';
|
||||
$plugin->component = 'plagiarism_pchkorg';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->dependencies = array(
|
||||
|
Loading…
Reference in New Issue
Block a user