Skip to content

Commit

Permalink
fix(setupcheck): Fix max size and time for requests
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Dec 3, 2024
1 parent 5ee4c9e commit 1c3fdae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/settings/lib/SetupChecks/PhpMaxFileSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public function run(): SetupResult {
$max_execution_time = (int)$this->iniGetWrapper->getString('max_execution_time');

$warnings = [];
$recommendedSize = 16 * 1024 * 1024 * 1024;
$recommendedTime = 3600;
$recommendedSize = 512 * 1024 * 1024;
$recommendedTime = 60;

// Check if the PHP upload limit is too low
if (Util::computerFileSize($upload_max_filesize) < $recommendedSize) {
Expand Down

0 comments on commit 1c3fdae

Please sign in to comment.