Skip to content

Add framework for "health checks" - #1136

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:warning-icon
Nov 19, 2020
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:warning-icon

Conversation

@SchrodingersGat

Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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.

2 participants