Skip to content

Commit b98a249

Browse files
authored
Bump width and height allowance for imagemagick. My understanding is that these are still fairly conservative values but should help with larger images (#1769)
1 parent b2f714e commit b98a249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/policy.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ root@scholarsphere-thumbnails-686f5cc8bc-hzd24:/app# cat /etc/ImageMagick-6/poli
8383
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
8484
<policy domain="resource" name="memory" value="512MiB"/>
8585
<policy domain="resource" name="map" value="800MiB"/>
86-
<policy domain="resource" name="width" value="16KP"/>
87-
<policy domain="resource" name="height" value="16KP"/>
86+
<policy domain="resource" name="width" value="32KP"/>
87+
<policy domain="resource" name="height" value="32KP"/>
8888
<!-- <policy domain="resource" name="list-length" value="128"/> -->
8989
<policy domain="resource" name="area" value="256MB"/>
9090
<policy domain="resource" name="disk" value="2GiB"/>

0 commit comments

Comments
 (0)