mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Fix #1568 : Scheduler timeouts
This commit is contained in:
@@ -343,7 +343,9 @@ class TaskManager implements ControllerProviderInterface
|
||||
set_time_limit(0);
|
||||
ignore_user_abort(true);
|
||||
|
||||
$app['task-manager']->getSchedulerProcess()->run();
|
||||
$process = $app['task-manager']->getSchedulerProcess();
|
||||
$process->setTimeout(0);
|
||||
$process->run();
|
||||
|
||||
return $app->json(array('success' => true));
|
||||
}
|
||||
|
Reference in New Issue
Block a user