Open lancepioch opened 6 years ago
https://github.com/laravel/ideas/issues/1356
Redis::throttle('throttle:' . self::class)->allow(60)->every(60)->then(function () {
// Job logic...
}, function () {
// Could not obtain lock...
return $this->release(10);
});
Laravel Forge restricts you to 60 api requests per minute.
Suggestion:
Redis::throttle