How to throttle a job in laravel scheduler

Viewed 18

I have a job set up in laravel scheduler which currently takes about 20minutes to finish running from start to finish.

However, I have recently been facing an error where the job get's 'killed' prematurely and i get an email notifying me that I have exceeded the rate limit of 90 API request per minute.

Is there any way that I can implement some sort of throttle on the laravel scheduler job?

Laravel Project Information

  • -Laravel Version 5.5

  • -PHP 7.4

  • -Hosted on Nginx

1 Answers
Related