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

** Changed in: mahara
    Milestone: None => 1.4.0

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

Title:
  Refresh feeds cron job is too slow

Status in Mahara ePortfolio:
  Fix Committed

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.



_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to