mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #00898
[Bug 611533] [NEW] Refresh feeds cron job is too slow
Public bug reported:
When there are invalid feeds the long timeouts can delay the rest of the
cron job, including the core cron tasks. On demo.mahara.org it
sometimes goes on for more than 5 minutes. The updating of feeds should
happen in a separate process, or failing that, we should at least make
the timeout shorter and/or make sure it gets run last.
Both the temp export file cleanup and cleanup_feeds function happen to
get run at the same times as refreshing the feeds, but they should be
offset a bit.
cleanup_feeds tries to remove feeds from the list of feeds to be updated
if those feeds no longer appear in any blocks. Another way to deal with
the timeout problems when updating invalid feeds might be to reduce the
frequency of update attempts for feeds that have failed to update for a
while.
** Affects: mahara
Importance: Undecided
Status: New
--
Refresh feeds cron job is too slow
https://bugs.launchpad.net/bugs/611533
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: New
Bug description:
When there are invalid feeds the long timeouts can delay the rest of the cron job, including the core cron tasks. On demo.mahara.org it sometimes goes on for more than 5 minutes. The updating of feeds should happen in a separate process, or failing that, we should at least make the timeout shorter and/or make sure it gets run last.
Both the temp export file cleanup and cleanup_feeds function happen to get run at the same times as refreshing the feeds, but they should be offset a bit.
cleanup_feeds tries to remove feeds from the list of feeds to be updated if those feeds no longer appear in any blocks. Another way to deal with the timeout problems when updating invalid feeds might be to reduce the frequency of update attempts for feeds that have failed to update for a while.
Follow ups
References