Skip to content

Commit

Permalink
Merge pull request #159 from ConductionNL/feature/REGISTERS-76/memory…
Browse files Browse the repository at this point in the history
…-limits

Increase memory limit for file uploads
  • Loading branch information
rjzondervan authored Dec 20, 2024
2 parents ac86b1d + 9babdf3 commit 637d713
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 637d713

Please sign in to comment.