-
Notifications
You must be signed in to change notification settings - Fork 14
Description
As mentioned in the readme - the old version of the plugin had a number of shortcomings requiring us to change the way the data collection occurs.
Timespent information is now generated via a scheduled task rather than on page-load - this improves general performance but also enables the data to be exposed within Moodle's new Report Builder custom reporting in a unified way across all courses.
Due to limitations in the amount of initial funding provided to complete the work to improve the plugin and support newer releases, for this release we implemented a simple data-collection process. The new task calculates 'session time' since the last time the task ran so running it every 15min would result in a 40min session generating 3 records for sessions - 2 of 15min and one of 10min instead of a single session for 40min - for this reason, the code currently limits itself to being able to run once every 2 hrs (previous code prevented it from running more than every 6 hrs.)
It would be possible to improve this process so that it can run more frequently and not generate multiple records for a single session, but this would require some development time to implement.
The other stream of development that relates to this is #70 which has the opportunity to provide another method of time collection and could potentially provide more accurate results that the existing data collection method.