https://bugzilla.wikimedia.org/show_bug.cgi?id=31731

--- Comment #3 from Aaron Schulz <[email protected]> 2011-10-24 19:39:50 
UTC ---
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.

-- 
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

Reply via email to