Skip to content

Commit

Permalink
change default keepalive interval + added description to tasks overview
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mortimer committed Sep 29, 2016
1 parent b998c37 commit 7c2842e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file added controller/app/templates/tasks/.tasks.html.swp
Binary file not shown.
2 changes: 2 additions & 0 deletions controller/app/templates/tasks/tasks.html
Expand Up @@ -11,6 +11,7 @@ <h2>All Tasks</h2>
<div class="col-lg-9">
<table class="table table-condensed">
<tr>
<th>description</th>
<th>type</th>
<th>recurrence time (sec)</th>
<th>recurrence count</th>
Expand All @@ -20,6 +21,7 @@ <h2>All Tasks</h2>
</tr>
{% for task_id, data in tasks.items() %}
<tr>
<td>{{ data[0].description }}</td>
<td>{{ data[0].type }}</td>
<td>{{ data[0].recurrence_time }}</td>
<td>{% if data[0].recurrence_count %}{{ data[0].recurrence_count }}{% else %}Infinite{% endif %}</td>
Expand Down
2 changes: 1 addition & 1 deletion controller/libs/pollers.py
Expand Up @@ -24,7 +24,7 @@ def __init__(self, ip, port, name=None, keepalive_interval=None):
if keepalive_interval:
self.keepalive_interval = keepalive_interval
else:
self.keepalive_interval = 120
self.keepalive_interval = 10

self._is_online = True

Expand Down

0 comments on commit 7c2842e

Please sign in to comment.