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

combine call into auto_schema where no changes #453

Closed
lolopinto opened this issue Sep 1, 2021 · 0 comments
Closed

combine call into auto_schema where no changes #453

lolopinto opened this issue Sep 1, 2021 · 0 comments

Comments

@lolopinto
Copy link
Owner

or create a server that's listening in the background and kill later?

lolopinto added a commit that referenced this issue Sep 3, 2021
… time

both paths are running the same code
https://github.com/lolopinto/ent/blob/main/python/auto_schema/auto_schema/runner.py#L185
https://github.com/lolopinto/ent/blob/main/python/auto_schema/auto_schema/runner.py#L258

so no reason to call this twice.

we just keep a flag in golang that we check and avoid the overhead a second time

way simpler than options presented at #453
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