Gilles has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/376675 )

Change subject: Leverage new MAX_ANIMATED_GIF_AREA Thumbor option
......................................................................

Leverage new MAX_ANIMATED_GIF_AREA Thumbor option

Bug: T173580
Change-Id: I083ec3c9d7807ab29793866495ef5c53eb3dfe71
---
M puppet/modules/thumbor/templates/20-thumbor-wikimedia.conf.erb
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/75/376675/1

diff --git a/puppet/modules/thumbor/templates/20-thumbor-wikimedia.conf.erb 
b/puppet/modules/thumbor/templates/20-thumbor-wikimedia.conf.erb
index 0934735..26efe78 100644
--- a/puppet/modules/thumbor/templates/20-thumbor-wikimedia.conf.erb
+++ b/puppet/modules/thumbor/templates/20-thumbor-wikimedia.conf.erb
@@ -115,3 +115,6 @@
 FAILURE_THROTTLING_MAX = 10
 FAILURE_THROTTLING_DURATION = 3600
 FAILURE_THROTTLING_PREFIX = 'thumbor-failure-'
+
+# We don't want to render giant animated GIFs (>100MP) as animations, only as 
the first image
+MAX_ANIMATED_GIF_AREA = 100000000

-- 
To view, visit https://gerrit.wikimedia.org/r/376675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I083ec3c9d7807ab29793866495ef5c53eb3dfe71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Gilles <gdu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to