You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moodle: 3.9.22
PHP: 7.4.33
Scheduled task cron: run every minute
We recently installed mod_pulse and noticed a drastic increase in our mdl_task_adhoc table. Drastic in the order of 10GB in just that table alone. Our CRON runs every minute and there are plenty of resources available to process tasks.
The adhoc task is the \mod_pulse\task\sendinvitation, which is a capability that we don't use.
Any idea what would be causing this to occur?
The text was updated successfully, but these errors were encountered:
Upon further investigation, it doesn't look like the enable/disable aspect of "Send Pulse notification" is valid. It spawns a notification within adhoc tasks regardless of that setting.
The quick fix (if you don't use this to notify users) is to disable the mod_pulse\task\notify_user scheduled task within Moodle. This will stop the spawning of the sendinvitation adhoc task.
The ideal scenario would be that the activity setting to enable/disable ("Send Pulse notification") would be respected and the tasks would not be spawned at all.
thanks for reporting this issue and sharing the results of your investigation.
Could you please let me know which version of Pulse you are using?
We have introduced several improvements in recent versions of Pulse, but since you mention that you are still on 3.9, you might also still Pulse 1.1, am I right?
I'll ask one of the developers to review your suggestion though.
Moodle: 3.9.22
PHP: 7.4.33
Scheduled task cron: run every minute
We recently installed mod_pulse and noticed a drastic increase in our mdl_task_adhoc table. Drastic in the order of 10GB in just that table alone. Our CRON runs every minute and there are plenty of resources available to process tasks.
The adhoc task is the \mod_pulse\task\sendinvitation, which is a capability that we don't use.
Any idea what would be causing this to occur?
The text was updated successfully, but these errors were encountered: