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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pavlov, Unassigned)

Details

Attachments

(3 files)

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).
Attached patch 1 - fix raceSplinter Review
this patch creates a unique temporary directory in which to work in -- is used more later
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)
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.
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.

Attachment

General

Created:
Updated:
Size: