Skip to content

Conversation

@adamjgriffith
Copy link
Contributor

By default jobs with the RateLimited or RateLimitedWithRedis middleware are released with a delay equal to when the rate limiter is available again +3 (?) seconds. This is great for 99% of cases but occassionaly it can be useful to specify the delay manually. This PR implements that functionality leaning heavily on the implemetation used in the WithoutOverlapping middleware.

See: https://laravel.com/docs/12.x/queues#preventing-job-overlaps

@taylorotwell taylorotwell merged commit 67f3f84 into laravel:12.x May 7, 2025
60 checks passed
@adamjgriffith adamjgriffith deleted the feature/implement-release-after-for-rate-limited-job-middleware branch May 7, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants