-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignores args #34
Ignores args #34
Conversation
…r shared rate limiters.
Please explain "ignore args" and the changes in this PR |
Rate limits only need the function name, so I used an option to exclude function arguments from the backtrace. This improves performance. |
Please rename |
I have already renamed the parameters to $method. But are there intentions to change them? It might be clearer to call it something like |
I don't want to change it at the moment since it is a breaking change. Please put back the named arguments that you removed |
I believe they are already renamed as I mentioned in the second commit. Should I do anything else? Edit: Now I just realized what you mean. I’ll do it, but I think it’s unnecessary in this case. |
It is a styling choice, it makes it clearer in the code what |
Thanks |
Ignore args and change $method to $target based on 'wire:target' for shared rate limiters.