Skip to content

Commit

Permalink
BackgroundTasks: Use "Fire & Forget" approach when starting workers a…
Browse files Browse the repository at this point in the history
…synchronously
  • Loading branch information
mjansenDatabay authored and chfsx committed Dec 17, 2024
1 parent 085fe92 commit b911b86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit b911b86

Please sign in to comment.