Is there a way to check if there are other pending requests from inside a PHP script?
If a user makes multiple requests in a row on a specific route, I would like to cancel all previous pending requests and the corresponding running scripts and only answer the last request.
The scripts do not write anything so I don’t care if they are just killed.
It may or may not use Symfony components.
It may require FPM.
Source: Symfony Questions
Was this helpful?
0 / 0