-
Bug
-
Resolution: Fixed
-
Minor
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-65393-master -
There is an edge case bug with the new feature in MDL-64449
The session history cleanup is looking for 'gaps' in the history, but if you constantly ping a url then it never creates gaps, and even though there may not actually be session lock overlaps it still keeps the history around which grows unbounded.
Solution is some combination of making the cleanup a little more strict. Some ideas:
1) make the gap smaller, eg 1 second
2) cull old history when the cumulated gaps > 1 second
3) have a hard cutoff of maximum stored history, something like 50 urls
- Discovered while testing
-
MDL-64449 Add debug feature to expose code issues with session locks
-
- Closed
-