Do thumb attempt-failures limitting via sha1 instead of name.
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 30 Jun 2014 00:24:18 +0000 (21:24 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 30 Jun 2014 00:24:18 +0000 (21:24 -0300)
commite3bb925b9c75e473e2d94e63b32045ce4cafea43
treedac50103b68ef27cac4bf98f9401e35316c05d62
parente91fd2fc41cca86283ba1ad9158bc87038c9a416
Do thumb attempt-failures limitting via sha1 instead of name.

Otherwise if there is a broken file, and somebody fixes the file,
it could take an hour before thumbs are generated again. This
might confuse the user, and they may revert back to the broken
version thinking their fix didn't work.

Originally reported by Fae on wiki.

Change-Id: I024702391e5f7ccf10a406a29485601f64069405
thumb.php