Forums | Mahara Community
25 February 2012, 6:27 AM
Regarding notifying users, it seems like the site goes into a small lag in response while it sends the emails. Is there a viable solution for the problem built inside mahara like email digest (since we noticed that it works on queue activated by cron).
We also noticed the existence of activity queue table which meant to handle notifications and messages. Can you please explain how we can utilize these facilities with the custom modules and messages we have built?
We are already using:
We noticed that the emails are sent directly to the users without using queue/cron?
25 February 2012, 7:29 PM
Hello Abu Musa,
Yes, Mahara has the email digest option and you can turn it on for each type of notification individually. You find them in Mahara 1.4 under Settings (right top corner) -> Notifications.
Many notifications run on cron but direct messages are sent immediately.
19 March 2012, 5:27 PM
Hi Mohammad, if you have a look at the definition of the activity_occurred function you'll see that you can pass a 'delay' argument along that will force it to queue the notifications.