From 58423d0ab149ecd889fc96a1c0099bf59475b747 Mon Sep 17 00:00:00 2001
From: cort
Date: Wed, 27 Feb 2019 09:29:34 -0600
Subject: [PATCH] Added client timeouts and general clean-up
---
config_SAMPLE.py | 5 +++--
index_template.html | 3 ++-
web_tables.py | 43 ++++++++++++++++++++++++++++++++++---------
3 files changed, 39 insertions(+), 12 deletions(-)
diff --git a/config_SAMPLE.py b/config_SAMPLE.py
index 8c4779b..cd74be8 100755
--- a/config_SAMPLE.py
+++ b/config_SAMPLE.py
@@ -1,10 +1,11 @@
REPORT_NAME = 'system.domain.name' # Name of the monitored HBlink system
CONFIG_INC = True # Include HBlink stats
BRIDGES_INC = True # Include Bridge stats (confbrige.py)
-HBLINK_IP = '127.0.0.1' # HBlink's IP Address
-HBLINK_PORT = 4321 # HBlink's TCP reporting socket
+HBLINK_IP = '127.0.0.1' # HBlink's IP Address
+HBLINK_PORT = 4321 # HBlink's TCP reporting socket
FREQUENCY = 10 # Frequency to push updates to web clients
WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not running as root
+CLIENT_TIMEOUT = 300 # Clients are timed out after this many seconds, 0 to disable
# Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/'
diff --git a/index_template.html b/index_template.html
index 2b9d7a5..70a4d1d 100755
--- a/index_template.html
+++ b/index_template.html
@@ -71,6 +71,7 @@
HBlink Monitoring Server
<<>>
+
<<>>
@@ -82,7 +83,7 @@
- Copyright (c) 2016, 2017, 2018 The Founding Members of the K0USY Group. All rights reserved.
+ Copyright (c) 2016, 2017, 2018, 2019 The Regents of the K0USY Group. All rights reserved.