for a project, once the user is logged in, a scripts needed to load all his information, what could take some minutes.
To get this progress bar correct, I split up the entire script into parts. Each part was called using an AJAX request, and once done, the progress bar increased. The negative part is now that some of those scripts are running in error due to an overload of scripts starting at the same time.
I was looking for other ways to create this load, and still show the user the progress. Now checked Laravel Queue for hours, but no sure if this does what I need. Most information and questions regarding queue are from laravel 4.0, so I doubt if this is accurate information.
The question now is: can I start these PHP scripts (run URL) using queue and maybe run an ajax request to check where the queue is ? Or how is this done these days?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire