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

Are Schema instances threadsafe? #862

Closed
laian opened this issue Nov 7, 2018 · 1 comment
Closed

Are Schema instances threadsafe? #862

laian opened this issue Nov 7, 2018 · 1 comment

Comments

@laian
Copy link

laian commented Nov 7, 2018

I understand that graphene can execute resolvers in parallel using a thread pool per #314

What I'm asking is a little different: I want distinct queries to each run their resolvers synchronously, but I want several queries to run at the same time using an executor pool. If these queries are sharing the same Schema instance will this lead to problems?

If this isn't possible, I can make a workaround just by making instantiating multiple Schemas and pooling them, I just check that this is actually necessary before going through the effort.

@stale
Copy link

stale bot commented Jul 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 29, 2019
@stale stale bot closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants