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

MiddlewareHandler.register is called for each endpoint #305

Closed
stevehu opened this Issue Oct 3, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@stevehu
Contributor

stevehu commented Oct 3, 2018

Although this is not harmful it is not efficient. It should be called only once during the handler init not the getHandlersFromExecList which will be called for every endpoint in handler.yml file.

@stevehu stevehu added the bug label Oct 3, 2018

@stevehu stevehu self-assigned this Oct 3, 2018

@stevehu stevehu closed this in 6bd66e8 Oct 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment