Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Need Help on how to use it #3

Closed
bionimic opened this issue Aug 13, 2019 · 3 comments
Closed

Need Help on how to use it #3

bionimic opened this issue Aug 13, 2019 · 3 comments

Comments

@bionimic
Copy link

Hi @likewinter

I've tried to this in my project but at some point it paused my queues
Could u please provide a full example on how to use this?

unfortunately when it reaches the throttle limit (500 request per minute) it will pause the whole queue. so how to unpause it?

Thanks!

@bionimic
Copy link
Author

please help! :(

@likewinter
Copy link
Owner

It pause not the whole queue but the pipe (in terms of beanstalkd) where you are throttling. So you need to have one pipe per each job which you are want to throttle.

FYI there is native implementation of throttling in modern version of Laravel and it’s agnostic to queue driver while my package works only with beanstalk
https://laravel.com/docs/5.8/queues#rate-limiting

@bionimic
Copy link
Author

Oh. Noted. Tq

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants