Skip to content

Commit

Permalink
Increased other limits
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisOuellet committed Nov 7, 2024
1 parent 7b44c1e commit fb998d4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Controller/CalculateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,17 @@ public function postRouterAction() {

// Namespace: /calculate/post

// Increase the Maximum Input Parsing Time
ini_set('max_input_time', 600); // 10 minutes

// Increase the maximum execution time
ini_set('max_execution_time', 3000); // 50 minutes
ini_set('max_execution_time', 600); // 10 minutes

// Increase the time limit
set_time_limit(600); // 10 minutes

// Increase the timeout limit
set_time_limit(3000); // 50 minutes
// Increase the memory limit
ini_set('memory_limit', '1024M');

// Initialize the variables
$results = [];
Expand Down

0 comments on commit fb998d4

Please sign in to comment.