← Back to team overview

mahara-contributors team mailing list archive

[Bug 547803] A change has been merged

 

Reviewed:  https://reviews.mahara.org/965
Committed: http://gitorious.org/mahara/mahara/commit/a82510ad1b3cae0b51bd5aa786c092bdfc7bbf3c
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch:    master

commit a82510ad1b3cae0b51bd5aa786c092bdfc7bbf3c
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date:   Thu Oct 13 11:35:58 2011 +1300

    Increase thumbnail cache time & remove messages from cron log
    
    See bug #547803.
    
    Removes debug messages which generate thousands of additional lines in
    the cron log.
    
    Also increases the length of time that resized images are cached.  We
    don't need to regenerate all the thumbnails every week, because we're
    always checking that the original still exists before serving the
    thumbnail.
    
    Change-Id: If824d5695a110452855c0313af9d6c9f4b3480c6
    Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>

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

Title:
  Cron job to delete old cached images

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Given that images are stored cached on disk in a three tier md5
  structure, it is hard to delete all of them at once when the original
  is requested to be deleted.

  A cron job should be written to find all filed older than a certain
  time in the cache and remove them.

  It doesn't matter if the cronjob is a little indiscriminate, as cached
  images will be regenerated on the fly.

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