catalyst / moodle-tool_lockstats

Moodle cron / task API lock statistics admin tool
https://moodle.org/plugins/tool_lockstats
6 stars 13 forks source link

Issue #89: Added fallback display to history table #93

Closed Peterburnett closed 4 years ago

Peterburnett commented 4 years ago

Closes #89 I did a little digging into a productions system where this issue is present. It seems to occur primarily from the 'Build course cache' adhoc task, but the classname and component don't seem to be recorded by lockstats. The fix in this PR now records the classname for locks that arent related to a task (adhoc or scheduled), and gives some information on the lock, such as originating class/function, or file/line, or in the worst case, shows a record relating empty entries to missing lock entries in the locks table