Skip to content

Commit

Permalink
Add client sync interval option
Browse files Browse the repository at this point in the history
Update core version
Update release to 3.0.14
  • Loading branch information
nibbles83 committed Aug 17, 2021
1 parent fd3c41d commit a59b093
Show file tree
Hide file tree
Showing 112 changed files with 693 additions and 17,166 deletions.
24 changes: 15 additions & 9 deletions clientBinaries.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,47 @@
{
"metrixcoind": {
"version": "4.0.6.2",
"version": "4.0.7.0",
"win32": {
"x64": {
"download": {
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.6.2-b097c6d/metrixd-win32-x64.exe",
"sha256": "35110f4d1d096d6fe2d6bcb2a4181d1922cad03264deab88911fd8d2339cc045"
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.7.0-8c5b2aa/metrixd-win32-x64.exe",
"sha256": "84e27549678d7a0e8459a01f52d04a32ab8b2b4a81bbb4d9acef609c8250dedf"
},
"bin": "metrixd.exe"
},
"x86": {
"download": {
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.6.2-b097c6d/metrixd-win32-x86.exe",
"sha256": "7dbb72d5e338bfffd19d8a89351dffc4bc84deae6e337e609a28cb5c7e0dccf7"
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.7.0-8c5b2aa/metrixd-win32-x86.exe",
"sha256": "f3cf4890d008ad1a5792892cd01fa6fc2e1945f4bdf58674fe2d925db98bfb13"
},
"bin": "metrixd.exe"
}
},
"linux": {
"x64": {
"download": {
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.6.2-b097c6d/metrixd-linux-x64",
"sha256": "8c3df68f05005ad161ede6d1fedbd989b90661a80119ce7d44fcfbfd3b9aba7e"
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.7.0-8c5b2aa/metrixd-linux-x64",
"sha256": "389ab4c9475e4ddffb31e62d5650d3e8b8a21507592f6b157266656cfe265362"
},
"bin": "metrixd"
}
},
"darwin": {
"x64": {
"download": {
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.6.2-b097c6d/metrixd-darwin-x64",
"sha256": "4526ee659ec09443993675155aee461cf709ffe5516d7083d7abc2cfdc045a0b"
"url": "https://lindaproject.nyc3.digitaloceanspaces.com/metrix/metrixd/4.0.7.0-8c5b2aa/metrixd-darwin-x64",
"sha256": "66b37e7a4ee9c8cf0993e5976ebe405388d45db766812b2bdf67e58f71accb62"
},
"bin": "metrixd"
}
},
"versions": {
"4.0.7.0": [
"84e27549678d7a0e8459a01f52d04a32ab8b2b4a81bbb4d9acef609c8250dedf",
"f3cf4890d008ad1a5792892cd01fa6fc2e1945f4bdf58674fe2d925db98bfb13",
"389ab4c9475e4ddffb31e62d5650d3e8b8a21507592f6b157266656cfe265362",
"66b37e7a4ee9c8cf0993e5976ebe405388d45db766812b2bdf67e58f71accb62"
],
"4.0.6.2": [
"35110f4d1d096d6fe2d6bcb2a4181d1922cad03264deab88911fd8d2339cc045",
"7dbb72d5e338bfffd19d8a89351dffc4bc84deae6e337e609a28cb5c7e0dccf7",
Expand Down
15 changes: 15 additions & 0 deletions doc/release-notes/release-notes-3.0.14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Altitude 3.0.14

This is a patch release.

Please report bugs using the issue tracker at github: https://github.com/thelindaprojectinc/altitude/issues

## How to Upgrade
Shutdown Altitude if it is already running and then run the installer.

## About this Release

- Update daemon to v4.0.7.0

## Added features
- Added client sync interval options, default is 10 seconds. Modifying this will increase the time Altitude requests updates from the core daemon. The background daemon will continue to work and sync as normal. This may be useful on slow machines that cannot handle the default 10 second polling time.
9 changes: 9 additions & 0 deletions lib/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ function set_hideTrayIcon(hideTrayIcon: boolean) {
saveSettings();
}

function set_syncinterval(syncInterval: number) {
settings.syncInterval = syncInterval;
saveSettings();
}

function set_minimiseToTray(minimiseToTray: boolean) {
settings.minimiseToTray = minimiseToTray;
saveSettings();
Expand Down Expand Up @@ -123,6 +128,9 @@ function setupIPC() {
case 'SETMINIMISETRAY':
set_minimiseToTray(data);
break;
case 'SETSYNCINTERVAL':
set_syncinterval(data);
break;
case 'SETMINIMISECLOSE':
set_minimiseOnClose(data);
break;
Expand Down Expand Up @@ -155,6 +163,7 @@ export class Settings {
fullScreen: boolean = false;
hideTrayIcon: boolean = false;
minimiseToTray: boolean = false;
syncInterval: number = 10000;
minimiseOnClose: boolean = false;
blockIncomingConnections: boolean = false;
proxy: string = '';
Expand Down
Loading

0 comments on commit a59b093

Please sign in to comment.