You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Love the idea and syntax of the package, got into one problem tho. For a big batch import job instead of limiting the rates, as I understand it, it just queues up hundreds of jobs each second.
Hi! Love the idea and syntax of the package, got into one problem tho. For a big batch import job instead of limiting the rates, as I understand it, it just queues up hundreds of jobs each second.
Command example:
The execution:
And I get tons of 429.
You see the issue? I feel like it would be nice if this time calculation could take everything else queued into account too:
rate-limit-plugin/src/Traits/HasRateLimits.php
Line 177 in 98f19b5
Sadly I have know clue of how to do that and if it would be possible, so I'm not much of any more help here.
In the mean time it looks like this will be my very basic rate limiter:
The text was updated successfully, but these errors were encountered: