summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 10:32:19 +0100
committerChristopher Baines <cb15g11@soton.ac.uk>2014-09-27 10:33:40 +0100
commit9d1bb49af84df3a3f9142cc68a9cc170ac470c4b (patch)
tree87b34aaeb8612943b2146a77d64283f12859c8ac
parent8b47770aeec7f54df1936fdd9cdd3ad8b23e047b (diff)
downloadleaflet-soton-9d1bb49af84df3a3f9142cc68a9cc170ac470c4b.tar
leaflet-soton-9d1bb49af84df3a3f9142cc68a9cc170ac470c4b.tar.gz
Change timeout
Despite the comment, it previously was 7 days.
-rw-r--r--src/leaflet-soton.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leaflet-soton.js b/src/leaflet-soton.js
index f8fcdce..ad6c8b4 100644
--- a/src/leaflet-soton.js
+++ b/src/leaflet-soton.js
@@ -13,7 +13,7 @@
updateWorkstationData: true, // regularly poll for workstation data
workstationDataUpdateTime: 30000, // time to wait between requests
useLocalStorage: true,
- localStorageTimeout: 604800000, // one day in milliseconds
+ localStorageTimeout: 172800, // two days in milliseconds
_workstationDataFetchInProgress: false,
_workstationDataFetchTimeout: null,