It allows sending simultaneous request when using a cache store #11
Replies: 3 comments 1 reply
-
I think you need to use an atomic locking mechanism so that if you were to have PHP processes that ran at the same time somehow it would be only allowable to the limit you set. Laravel cache example: |
Beta Was this translation helpful? Give feedback.
-
I agree that this isn't ideal. I'm not actively working on this package anymore, but I'd accept PR's that bring improvements here. |
Beta Was this translation helpful? Give feedback.
-
Same issue with Symfony 5.2 using FileSystem cache : #21 As you can see below a test with a rate limit set to 1 per sec. Both programs are waiting correclty at the begining. But 1 minute after the first call, both program are executing http call in same time... Normally only one one two should be executed as we set the limit to 1.
|
Beta Was this translation helpful? Give feedback.
-
Hey all, thanks for everything you guys do.
Just wanted to let you know that I tried setting up a cache store and dispatching external requests from different terminal windows "at the same time", using 1 request per minute.
It works after the first request is sent but then all other pending requests are dispatched at the same time.
Beta Was this translation helpful? Give feedback.
All reactions