forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-45758 tool_monitor: Add a universal event observer
This observer does the following task:- 1) It monitors all events and stores relevant data in a temporary table 2) It doesn't write the events straight away, it buffers them, so there is only one db write per request 3) It calculates and sees if there are subscriptions related to those events who need to be notified 4) If there are such cases, it schedules a adhoc task for the same Original issue - MDL-46132
- Loading branch information
1 parent
1ebfdae
commit bb550ef
Showing
2 changed files
with
142 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters