Closed philcali closed 12 years ago
How long before we get a fix on this?
Well, this is not as bad as it sounds. It also only processed the users who do not have pictures, so after a certain point, it returns instantly because there is simply no more work to do. The real issue is when a lot of users are dumped in the system initially.
To answer your question, the fix is adding one one line in function cron
which is return true;
I can do this right here on github if we want.
Please. I'd like this to go out with the GB fixes tomorrow.
Right on.
Cron needs to return a boolean value for Moodle to fill in the
lastcron
field on themdl_block
table. If cron doesn't return or returns false, it is treated as a failed attempt.In effect, this forces my_picture to process at every cron regardless of the hour interval placed on it.