Skip to content
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

Perf Improvement #1

Closed
jeremyjpj0916 opened this issue Sep 24, 2018 · 1 comment
Closed

Perf Improvement #1

jeremyjpj0916 opened this issue Sep 24, 2018 · 1 comment

Comments

@jeremyjpj0916
Copy link
Collaborator

https://github.com/Optum/kong-response-size-limiting/blob/master/src/handler.lua#L35

Can reduce the if to just check if the flag has been set as opposed to the 413 and the flag.

@jeremyjpj0916
Copy link
Collaborator Author

Changed src.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant