Skip to content

Question: AbstractGraphQLHttpServlet init() called on get and post requests #212

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

Closed
pstarritt-evooq opened this issue Oct 16, 2019 · 1 comment
Labels
Milestone

Comments

@pstarritt-evooq
Copy link

Hello,

I was reading over the library and was curious to know why init() is called on every get/post request?
As each thread will share the getHandler & posthandler instances, so we are overriding the shared instances between request interleaving?

postHandler = {AbstractGraphQLHttpServlet$lambda@12811}
getHandler = {AbstractGraphQLHttpServlet$lambda@12812}

Thanks !

Change from this Commit:
d440d7e

@oliemansm oliemansm added this to the 9.0.0 milestone Nov 15, 2019
@oliemansm
Copy link
Member

Thanks, this is fixed in #217

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

No branches or pull requests

2 participants