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

Check home page status code in StatusCheckView #261

Open
symroe opened this issue Apr 17, 2018 · 0 comments
Open

Check home page status code in StatusCheckView #261

symroe opened this issue Apr 17, 2018 · 0 comments

Comments

@symroe
Copy link
Member

symroe commented Apr 17, 2018

StatusCheckView will check if the server dirty flag is set, but will allow an instance in to the load balancer pool if a request to the home page is a 500.

The view should make a request to the home page (and maybe a person page) to make sure the status code is 200, as well as the existing check.

Because the site is served using a socket file, this will need to be done using https://github.com/msabramo/requests-unixsocket or somesuch.

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