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

Add framework for "health checks" #1136

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

SchrodingersGat
Copy link
Member

No description provided.

- Adds global context object "system_healthy" (boolean)
- Framework for running system health checks
- Updated system info forms
- Displays warning next to user menu if system health errors exist

(cherry picked from commit ce6d626ab39147fc389de90815ca8baae2385d82)
@SchrodingersGat SchrodingersGat merged commit 6b104fb into inventree:master Nov 19, 2020
@SchrodingersGat SchrodingersGat deleted the warning-icon branch November 19, 2020 02:30
@amishHammer
Copy link

There is a bug with this: it will fire multiple times for the same request (not sure why but other projects work around this).

This commit takes an approach similar to others to make sure we don't do the checks more than once: 37fc320

@SchrodingersGat
Copy link
Member Author

Similar patch applied here - #1140

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.

None yet

2 participants