Do not retry the ThumbnailRenderJob.
authorPetr Pchelko <ppchelko@wikimedia.org>
Thu, 11 Oct 2018 15:19:41 +0000 (08:19 -0700)
committerPetr Pchelko <ppchelko@wikimedia.org>
Thu, 11 Oct 2018 15:26:03 +0000 (08:26 -0700)
commitf57b3902ba85729de509a9c7c41049dc62500b28
tree973db3849dca1f6681d3277dc72367997575d111
parent87bc4f22699e557410ab7e3b6aafb5d1036bca8a
Do not retry the ThumbnailRenderJob.

The job is a warmup for the thumbnail cache, so loosing it is not
an issue. Most of the times thumbnail rendering fails because of
non-renderable or broken images, or because the thumbnail was
already created by a request. These conditions will not be fixed
by retrying, will only create more load on Thumbor.

Bug: T203135
Change-Id: Ib4640eb13ca93f7350ff0671fc559a76ebbbb1e9
includes/jobqueue/jobs/ThumbnailRenderJob.php