diff --git a/Services/BackgroundTasks/classes/class.ilSoapBackgroundTasksAdministration.php b/Services/BackgroundTasks/classes/class.ilSoapBackgroundTasksAdministration.php index f57325dc3b46..1d50df84d23c 100644 --- a/Services/BackgroundTasks/classes/class.ilSoapBackgroundTasksAdministration.php +++ b/Services/BackgroundTasks/classes/class.ilSoapBackgroundTasksAdministration.php @@ -34,6 +34,8 @@ public function __construct(bool $use_nusoap = true) */ public function runAsync(string $sid) { + ignore_user_abort(true); + $this->initAuth($sid); $this->initIlias(); diff --git a/src/BackgroundTasks/Implementation/TaskManager/AsyncTaskManager.php b/src/BackgroundTasks/Implementation/TaskManager/AsyncTaskManager.php index 8ac4128f63d8..7ad8bbcb4781 100644 --- a/src/BackgroundTasks/Implementation/TaskManager/AsyncTaskManager.php +++ b/src/BackgroundTasks/Implementation/TaskManager/AsyncTaskManager.php @@ -44,7 +44,7 @@ public function run(Bucket $bucket): void // Call SOAP-Server $soap_client = new \ilSoapClient(); - $soap_client->setResponseTimeout(1); + $soap_client->setResponseTimeout(0); $soap_client->enableWSDL(true); $soap_client->init(); $session_id = session_id();