Skip to content

Works with Notifications and without Redis #45

Answered by riasvdv
beard7 asked this question in Q&A
Discussion options

You must be logged in to vote

Will this work with Notifications or basically any class that implements ShouldQueue

As far as I know it should, but it's worth testing yourself as I haven't done this

As for the Redis requirement, you can pass false to the constructor and it will use your cache driver instead: https://github.com/spatie/laravel-rate-limited-job-middleware/blob/main/src/RateLimited.php#L29

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by beard7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #44 on January 25, 2023 14:28.