-
Improvement
-
Resolution: Fixed
-
Critical
-
2.3.7, 2.4.4, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_27_STABLE
-
wip-mdl-40079
-
-
40
-
BACKEND Sprint 6
Hi,
I found hardcoded timeout parameters in moodle/repository/lib.php
This timeout results that I can't get a 25 MB video file from Dropbox to Moodle. This is a blocker for the Dropbox plugin and for all other repositories.
The parameter should be configurable to higher values in config.php.
If there is no setting in config.php then Moodle uses the default timeout.
The best thing would be if the Moodle admin can set the timeout in the repository settings moodle/admin/settings.php?section=managerepositoriescommon
Best regards, Ralf
moodleSCHULE - Moodle Partner
/** Timeout in seconds for downloading the external file into moodle */
|
const GETFILE_TIMEOUT = 30;
|
/** Timeout in seconds for syncronising the external file size */
|
const SYNCFILE_TIMEOUT = 1;
|
/** Timeout in seconds for downloading an image file from external repository during syncronisation */
|
const SYNCIMAGE_TIMEOUT = 3;
|