Skip to content

Commit

Permalink
Increase memory limit for file uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Dec 19, 2024
1 parent ac86b1d commit 9babdf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Controller/AttachmentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace OCA\OpenCatalogi\Controller;

ini_set('memory_limit', '2048M');

use Exception;
use GuzzleHttp\Exception\GuzzleException;
use OCA\OpenCatalogi\Db\AttachmentMapper;
Expand Down
1 change: 1 addition & 0 deletions lib/Service/FileService.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

namespace OCA\OpenCatalogi\Service;
ini_set('memory_limit', '2048M');

use DateTime;
use Exception;
Expand Down

0 comments on commit 9babdf3

Please sign in to comment.