Skip to content

Commit

Permalink
Merge pull request #415 from sbs20/development
Browse files Browse the repository at this point in the history
Avoid exhausted cache #414
  • Loading branch information
sbs20 authored Mar 21, 2022
2 parents 256343e + ef149cf commit f5b6a30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/server/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ install() {
# Enable PDF
sed -i 's/policy domain="coder" rights="none" pattern="PDF"/policy domain="coder" rights="read | write" pattern="PDF"'/ /etc/ImageMagick-6/policy.xml

# Avoid out of memory issues with large or multipage scans
sed -i 's/policy domain="resource" name="disk" value="1GiB"/policy domain="resource" name="disk" value="8GiB"'/ /etc/ImageMagick-6/policy.xml

# Install all the node dependencies
cd $location && npm install --only=production

Expand Down

0 comments on commit f5b6a30

Please sign in to comment.