summaryrefslogtreecommitdiff
path: root/dashboard_website
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard_website')
-rw-r--r--dashboard_website/datastructs.py4
-rw-r--r--dashboard_website/static/js/dashboard.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/dashboard_website/datastructs.py b/dashboard_website/datastructs.py
index 6966ca9..24625d0 100644
--- a/dashboard_website/datastructs.py
+++ b/dashboard_website/datastructs.py
@@ -1,7 +1,7 @@
import time, math
# time since last ping before deactivating/deleting
-BIKE_TIMEOUT = 10 # 3 minutes
-BIKE_DELETE = 20 # time before bike deletes itself
+BIKE_TIMEOUT = 60 # 3 minutes
+BIKE_DELETE = 300 # time before bike deletes itself
# data structures
class Point:
diff --git a/dashboard_website/static/js/dashboard.js b/dashboard_website/static/js/dashboard.js
index cb1c1aa..647c241 100644
--- a/dashboard_website/static/js/dashboard.js
+++ b/dashboard_website/static/js/dashboard.js
@@ -215,7 +215,7 @@ function requestLatestInfo(){
}
var intervalId = window.setInterval(function(){
requestLatestInfo();
- }, 3000);
+ }, 5000);
var clockINterval = window.setInterval(function(){
var d = new Date();