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

When polling is enabled, Mesh gets the old schema on each server start #6840

Closed
Tracked by #5357 ...
ardatan opened this issue Apr 15, 2024 · 0 comments
Closed
Tracked by #5357 ...

Comments

@ardatan
Copy link
Owner

ardatan commented Apr 15, 2024

When user enables the polling with pollingInterval configuration option, Mesh pulls the schema in a certain interval. It updates the artifacts automatically on the disk.
But if there is a container environment or a lambda, all the changes on the disk are gone. So after a restart on the container, it starts with the initial schema that is generated via mesh build before all the following polls. Then the user gets the updated schema until the first poll.
We should add a flag that immediately pulls the schema on each start so the initial artifacts are ignored.

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