* check for updates only once per week
This commit is contained in:
parent
3dd87924f1
commit
e17ac10168
|
@ -298,7 +298,7 @@ public class Main {
|
||||||
* Show update notifications if updates are available
|
* Show update notifications if updates are available
|
||||||
*/
|
*/
|
||||||
private static void checkUpdate() throws Exception {
|
private static void checkUpdate() throws Exception {
|
||||||
final Properties updateProperties = new CachedResource<Properties>(getApplicationProperty("update.url"), Properties.class, CachedResource.ONE_DAY, 0, 0) {
|
final Properties updateProperties = new CachedResource<Properties>(getApplicationProperty("update.url"), Properties.class, CachedResource.ONE_WEEK, 0, 0) {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Properties process(ByteBuffer data) {
|
public Properties process(ByteBuffer data) {
|
||||||
|
|
Loading…
Reference in New Issue