spatie / laravel-rate-limited-job-middleware

A job middleware to rate limit jobs
https://freek.dev/1475-a-job-middleware-to-rate-limit-jobs
MIT License
341 stars 30 forks source link

Feature: dontRelease() method #47

Closed 4n70w4 closed 1 year ago

4n70w4 commented 1 year ago

Hi!

Laravel middlewares has an option not to release jobs to queue. I would to have this opportunity in this middleware too.

If you do not want a job to be retried when it is rate limited, you may use the dontRelease method.

https://laravel.com/docs/9.x/queues#rate-limiting

image

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.