mercredi 31 janvier 2018

Laravel ignore_user_abort() not working

I want to run a function in background, that doesn't stop until process completes.

In core PHP i was using ignore_user_abort() function and file kept running in background.

But now i am converting my site to laravel, i tried adding ignore_user_abort(true) in my controller below namespace, But file is only getting executed for few seconds.

I tried increasing max_execution_time in php.ini file but nothing happened.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2Fxb0hH
via IFTTT

Aucun commentaire:

Enregistrer un commentaire