Skip to content

Commit

Permalink
Include user ID in stalled worker list
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfair committed Oct 24, 2014
1 parent a5299d5 commit 2764fc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tapiriik/web/templates/diag/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ <h3>Stats</h3>
<th>Local Index</th>
<th>Last Heartbeat</th>
<th>HB State</th>
<th>User</th>
<th>Forget</th>
</tr>
{% for worker in stalledWorkers %}
Expand All @@ -35,6 +36,7 @@ <h3>Stats</h3>
<td>{{ worker.Index }}</td>
<td>{{ worker.Heartbeat|utctimesince }}</td>
<td><tt>{{ worker.State }}</tt></td>
<td><tt>{{ worker.User }}</tt></td>
<td>
<form action="{% url 'diagnostics_dashboard' %}" method="POST">{% csrf_token %}<input type="hidden" name="pid" value="{{ worker.Process }}"><input type="submit" name="deleteStalledWorker" value="x"/></form>
</td>
Expand Down

0 comments on commit 2764fc0

Please sign in to comment.