Or, perhaps what they want is the new system for sharing questoin banks in Moodle 5.0? Have you seen that yet?
Tim Hunt
Posts made by Tim Hunt
Atually, there is a better answer, which is don't use file paths like import ... from './keydownHandler.js';
Insetead, use module-names. In this example, that would mean renaming keydownHandler.js to keydown_handler.js and then saying
import ... from 'qtype_guessit/keydown_handler'
Insetead, use module-names. In this example, that would mean renaming keydownHandler.js to keydown_handler.js and then saying
import ... from 'qtype_guessit/keydown_handler'
Probably the course modinfo cache. I think the function you need to call is rebuild_course_cache, with the right arguments.
700,000 attempts at one quiz is quite extreme.
If you can work out which query is being slow (e.g. is your database set to log slow queries) then you could try to do an EXPLAIN on the query to see if it is obvious why it is slow.
If you can work out which query is being slow (e.g. is your database set to log slow queries) then you could try to do an EXPLAIN on the query to see if it is obvious why it is slow.