Closed
Bug 739876
Opened 12 years ago
Closed 12 years ago
Fix thumbnailer race condition and make thumbnailer generate multiple image sizes
Categories
(Pancake Graveyard :: Thumbnailer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
M3
People
(Reporter: pavlov, Unassigned)
Details
Attachments
(3 files)
3.80 KB,
patch
|
Details | Diff | Splinter Review | |
2.25 KB,
patch
|
Details | Diff | Splinter Review | |
4.57 KB,
patch
|
Details | Diff | Splinter Review |
I did this in 3 patches -- one to remove the websnap code since it isn't being used and gets in the way, one to fix the race condition, and another to generate multiple images (and also made it spit out jpegs). The patches apply in a specific order. I have tested the image generation logic here in a stand-alone app, but have not verified that it uploads to S3 properly (my only concern is that I've added things that kind of look like query strings to the filename).
Reporter | ||
Comment 1•12 years ago
|
||
this patch creates a unique temporary directory in which to work in -- is used more later
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
This patch adds support to upload multiple sizes (and has temporary code to keep the straight key url with no size params working that should be removed eventually)
Comment 4•12 years ago
|
||
These look ok. The humbnailer-api also needs to be fixed so that it will check for the existence of these newly named files. I can integrate these patches in the code and move them to production.
Reporter | ||
Comment 5•12 years ago
|
||
this is fixed now
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•