Possible to use "ratelimited" middleware on activities ? #228
Answered
by
rmcdaniel
franck-grenier
asked this question in
Q&A
-
Hello laravel-workflow, I already setup jobs. But I'm now looking at laravel-workflow to try to setup a better controled workflow. I'd like to know if it's possible to add middlewares on Activities like on native jobs, especially the Laravel native Thanks for your help |
Beta Was this translation helpful? Give feedback.
Answered by
rmcdaniel
Mar 25, 2025
Replies: 1 comment
-
Here is how you would do that. Here is some example middleware.
And here is our activity.
The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
franck-grenier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is how you would do that. Here is some example middleware.
And here is our activity.
The
array_splice()
will put the middleware in …