#Job RateLimiting doesn't work as expected. Job should be throttled to be run per Minute only once.

6 messages · Page 1 of 1 (latest)

upper thicket
#

@sand lintel Yes, but if you look at your logs it just says “Processing”. There are no lines saying “Processed”.

#

So looks like the jobs are getting queued, but Laravel is not actually processing any.

sand lintel
#

You are right. I guess in this part laravel did put them into the queue and just wait until the time comes to process them.

But with another test (screenshot) I did see a different result. You can see the time log and processing and processed at once. Even there are couple of Jobs in the queue, this should be at least only one Job per Minute, right?

(In this test the WithoutOverlapping(self::class) middleware was removed to see if it makes any difference at all as the Rate Limiter should allow that specific Job only once per Minute (so I guess no overlapping anyway?)

#

Just another test after clearing the queue, cache and redis. WithoutOverlapping doesn't seem to make any difference as expected.

sand lintel
#

Also the Horizon Dashboard shows me the failed state at the same time :/ Makes no sense to me. Is my RateLimiting Syntax correct?