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

Restart torii server on new model registration #971

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Conversation

broody
Copy link
Collaborator

@broody broody commented Oct 3, 2023

Haven't found a way to hotswap an updated graphql schema at runtime with warp/hyper, so instead this change restarts the server when new model is registered. Unfortunately, this will also restart the grpc server. Open to other ideas!

@tarrencev tarrencev merged commit 6684de6 into main Oct 6, 2023
@tarrencev tarrencev deleted the torii-reload-schema branch October 6, 2023 16:28
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

Successfully merging this pull request may close these issues.

2 participants