Skip to content

Commit

Permalink
upload-photos: Use higher memlimit
Browse files Browse the repository at this point in the history
Not sure why, but recently 256M was not enough.
  • Loading branch information
cdown committed Jun 20, 2024
1 parent 5525310 commit 3b32465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/upload-photos
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ session_name=photo-upload-"$RANDOM"
escaped_photo_dir=${photo_dir/"'"/"'\\''"}

if [[ -d /run/systemd/system ]]; then
limit_cmd=memlimit
limit_cmd='LIMIT=512M memlimit'
else
limit_cmd=
fi
Expand Down

0 comments on commit 3b32465

Please sign in to comment.