https://bugzilla.wikimedia.org/show_bug.cgi?id=31731
--- Comment #4 from Tim Starling <[email protected]> 2011-10-25 05:09:00 UTC --- (In reply to comment #3) > It might be better placed in purgeThumbnails() and purgeOldThumbnails(). The > hook would just pass in $dir, and the handler would have to transform $dir > (via > regex or something ugly) to truncate away the ".../thumb/" prefix. > > purgeThumbList() has no outside callers and we don't want to just purge the > files found on the FS but everything under $dir (or the corresponding swift > "directory" for the file name). Ideally the file lists would correspond > exactly, but we wan't to deal with files stuck in the swift cache because they > aren't on the FS and thus don't end up in the purge list. OK, sounds good. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
