← Back to team overview

mahara-contributors team mailing list archive

[Bug 611533] Re: Refresh feeds cron job is too slow

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/611533

Title:
  Refresh feeds cron job is too slow

Status in Mahara ePortfolio:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/611533/+subscriptions


References