Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/pebble-my-data.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbahbka <bahbka@gmail.com>2014-07-28 22:06:37 +0400
committerbahbka <bahbka@gmail.com>2014-07-28 22:06:37 +0400
commit99f40a45519eca98bb4b3682e93062a0e717f95c (patch)
tree6b6f4a78593ecb71f70315869cfccdcbf8f53c37
parented4137837ae63c8fca781b6233eed34655fab724 (diff)
Reduced GPS cache lifetime.
-rw-r--r--README.md3
-rw-r--r--appinfo.json4
-rw-r--r--resources/configuration.html2
-rw-r--r--src/js/pebble-js-app.src.js2
-rw-r--r--stuff/pebble-my-data.pbwbin32372 -> 32371 bytes
5 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 6909566..16ee13e 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,9 @@ Inspired by [Pebble Cards](http://keanulee.com/pebblecards).
## Changelog
+### 2.3.5
+- Reduced GPS cache lifetime (from 30 mins to 10 mins).
+
### 2.3.4
- Workaround for APP_MSG_INTERNAL_ERROR (request last response after 0.1s if occur)
diff --git a/appinfo.json b/appinfo.json
index 01d9b1e..aa6386f 100644
--- a/appinfo.json
+++ b/appinfo.json
@@ -3,8 +3,8 @@
"shortName": "My Data",
"longName": "My Data",
"companyName": "bahbka",
- "versionCode": 234,
- "versionLabel": "2.3.4",
+ "versionCode": 235,
+ "versionLabel": "2.3.5",
"watchapp": {
"watchface": false
},
diff --git a/resources/configuration.html b/resources/configuration.html
index cf5d8a1..59dac4b 100644
--- a/resources/configuration.html
+++ b/resources/configuration.html
@@ -63,7 +63,7 @@ vim: sw=2 ts=2 expandtab ai
</head>
<body onload="put_config();">
<h1>My Data</h1>
- <small>v2.3.4, by bahbka</small>
+ <small>v2.3.5, by bahbka</small>
<hr size="1" />
<form action="javascript: get_config();" id="config_form">
diff --git a/src/js/pebble-js-app.src.js b/src/js/pebble-js-app.src.js
index ad12514..4bbed74 100644
--- a/src/js/pebble-js-app.src.js
+++ b/src/js/pebble-js-app.src.js
@@ -147,7 +147,7 @@ function fetch_data(url) {
*/
http_request(url);
},
- { maximumAge: 1800000 } // 30 minutes
+ { maximumAge: 600000 } // 10 minutes
);
} else {
//error geolocation not supported
diff --git a/stuff/pebble-my-data.pbw b/stuff/pebble-my-data.pbw
index 9468074..63e7034 100644
--- a/stuff/pebble-my-data.pbw
+++ b/stuff/pebble-my-data.pbw
Binary files differ