** Changed in: mahara
Milestone: None => 20.04.0
** Changed in: mahara
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1840195
Title:
Add a function to check if a cron callfunction needs to run before
actually executing it
Status in Mahara:
Fix Committed
Bug description:
There are cron functions that run many times a day that don't need to run
that often but they need to monitor a condition.
One of these is for example the user_login_tries_to_zero that resets the
logintries value in the usr table to be 0, so the user can try to login again
if they failed 5 times. This doesn't need to run if there are no values to
reset.
If we have a way to checks if the cron function needs to run or not,
and we also work with elastic search, we can check if the triggers
need to be dropped. This way we're reducing the times we drop and
recreate elasticsearch triggers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1840195/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp