diff options
author | bahbka <bahbka@gmail.com> | 2014-07-28 22:06:37 +0400 |
---|---|---|
committer | bahbka <bahbka@gmail.com> | 2014-07-28 22:06:37 +0400 |
commit | 99f40a45519eca98bb4b3682e93062a0e717f95c (patch) | |
tree | 6b6f4a78593ecb71f70315869cfccdcbf8f53c37 | |
parent | ed4137837ae63c8fca781b6233eed34655fab724 (diff) |
Reduced GPS cache lifetime.
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | appinfo.json | 4 | ||||
-rw-r--r-- | resources/configuration.html | 2 | ||||
-rw-r--r-- | src/js/pebble-js-app.src.js | 2 | ||||
-rw-r--r-- | stuff/pebble-my-data.pbw | bin | 32372 -> 32371 bytes |
5 files changed, 7 insertions, 4 deletions
@@ -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 Binary files differindex 9468074..63e7034 100644 --- a/stuff/pebble-my-data.pbw +++ b/stuff/pebble-my-data.pbw |