I'm trying to implement increasing 'checknet' scorm alert time from 2
seconds to 10 seconds and 5 seconds to 30 seconds by replacing the
values in the below lines.
https://github.com/andrewnicols/moodle/compare/9b8555f...MDL-28261-master#diff-36c25f107c03eedc54bad515788e3bffR150
https://github.com/andrewnicols/moodle/compare/9b8555f...MDL-28261-master#diff-36c25f107c03eedc54bad515788e3bffR163
I have tested it in my local machine both in debug and live
environments. While on debug environment I've tested it by updating the
values in 'moodle-core-checknet-debug.js' file and on live environment
'moodle-core-checknet-min.js'
(timeout:{value:10e3},frequency:{value:30e3}).
I'm aware that, it is not recommended to update any of the core files as it will get overwritten in the system update. I also understand from the documents/discussions that it may affect the usage tracking.
Request your valuable inputs on this:
- Any safety measure which I could take, to avoid and issues
- Any suggestions you may have
Thank you in advance.