public function postGetEvents1(){
    // Get default limit
    $normalTimeLimit = ini_get('max_execution_time');
    // Set new limit
    ini_set('max_execution_time', 600); 
    //other code
    // Restore default limit
    ini_set('max_execution_time', $normalTimeLimit); 
    return;
}
Thursday, October 4, 2018
How to increase laravel controller method execution time
Labels:
PHP Laravel Framework
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment