How to solve a timeout error in Laravel 5

后端 未结 13 2159
说谎
说谎 2020-11-30 08:43

I have the following set up:

In routes I have:

Route::get(\'articles\', \'ArticlesController@index\');

The index method in the controller is simply:<

13条回答
  •  自闭症患者
    2020-11-30 09:04

    Sometimes you just need to optimize your code or query, Setting more max_execution_time is not a solution.

    It is not suggested to take more than 30 for loading a webpage if a task takes more time need to be a queue.

提交回复
热议问题