vendredi 9 août 2019

How to sync data from third party API to Laravel without timeout

I want to save some data from an third party API into my Laravel application. Unfortunately I'm getting a timeout because the controller which fetches the data and saves it into my Laravel model is taking too long.

What is the best way to get this going ?

I basically just wrote the code in an API controller. I know this is not the best way but for testing purposes but it worked.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire