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

Lazy getting of settings layout from Artipie server #113

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

andpopov
Copy link
Member

@andpopov andpopov commented Nov 8, 2022

Part of #101
Currently if Artipie server is down the front cannot start because it requests layout setting during startup.
Front should start without pre-run Artipie server

@andpopov andpopov changed the title fix: lazy getting of settings layout Lazy getting of settings layout from Artipie server Nov 8, 2022
@andpopov
Copy link
Member Author

andpopov commented Nov 8, 2022

@olenagerasimova Please review

Copy link
Member

@olenagerasimova olenagerasimova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andpopov I'm not sure I see the point in starting front without Artipie, we could just print the warning about failing to connect to the main server and shut down... Please, discuss this case with Denis, what does he think?

Copy link
Member

@olenagerasimova olenagerasimova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andpopov approving

@andpopov andpopov merged commit 6b0622c into artipie:master Nov 8, 2022
@andpopov andpopov deleted the lazy_settings branch November 29, 2022 07:58
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