-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification inconsistency in recurring calendar events #190
Comments
@isuru89 Any update on this? |
@flowersofpepper Please let me reproduce and find a solution for these after the holiday period. Thank you for reminding me about this. |
@flowersofpepper did you check it? Thank you |
@flowersofpepper I actually had a time to investigate this during last weekend. I did not had a chance to reproduce all of them, but please kindly allow me to process them one by one. There are couple of things I would like to mention regarding calendar change notifications in general.
The plugin has subscribed to Moodle calendar event adds/edits/deletions, and they are stateless invocations in the plugin. That means, plugin does send notifications on-the-fly for each event without knowing about other invocations. Therefore, if the Moodle core is triggering two events to the plugin, then this is currently how it works with the current design of the plugin. I may need to rethink about the existing design (moving to an asynchronous processing) considering the performance issue mentioned as the last point.
These are side-effects related to a fix I have done to to #184 (original issue you raised). But, Let me think how both can be resolved.
I did not notice this in my local development, which is obviously has very little dataset compare to an actual production environment. However, as I said, the asynchronous processing within the plugin may help to increase the performance. |
@isuru89 That's awesome, brother, take your time. You are doing a great work. Thank you. |
Describe the bug (required)
As quoted from other issue #184 (comment)
To Reproduce (required)
Steps to reproduce the behavior:
Mentioned in original quote.
Expected behavior (required)
Notifications on recurring events should process correctly.
Cron Logs
No cron logs are available for calendar events right now.
Environment (required):
The text was updated successfully, but these errors were encountered: