mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 10:34:34 +00:00
Add a "heartbeat" task which runs every 5 minutes
- Allows us to track if the worker is running - Due to Stat.get_all() not always working
This commit is contained in:
1 parent
4925f24ca9
commit
bfb0cb3b47
4 files changed
+45
-9
No files matched your search
@@ -59,8 +59,10 @@
|
||||
{% endif %}
|
||||
<li class='dropdown'>
|
||||
<a class='dropdown-toggle' data-toggle='dropdown' href="#">
|
||||
{% if not system_healthy or not up_to_date %}
|
||||
{% if not system_healthy %}
|
||||
<span class='fas fa-exclamation-triangle icon-red'></span>
|
||||
{% elif not up_to_date %}
|
||||
<span class='fas fa-info-circle icon-green'></span>
|
||||
{% endif %}
|
||||
<span class="fas fa-user"></span> <b>{{ user.get_username }}</b></a>
|
||||
<ul class='dropdown-menu'>
|
||||
|
||||
Reference in new issue
Block a user