diff --git a/app/SysTray-X/preferences.cpp b/app/SysTray-X/preferences.cpp
index 7557820..c9401a9 100644
--- a/app/SysTray-X/preferences.cpp
+++ b/app/SysTray-X/preferences.cpp
@@ -33,8 +33,8 @@ Preferences::Preferences( QObject *parent ) : QObject( parent )
m_hide_minimize = true;
m_start_minimized = false;
- m_poll_startup_delay = 30;
- m_poll_interval = 30;
+ m_poll_startup_delay = 60;
+ m_poll_interval = 60;
m_debug = false;
diff --git a/app/SysTray-X/preferences.ui b/app/SysTray-X/preferences.ui
index 48b5482..6edf6e0 100644
--- a/app/SysTray-X/preferences.ui
+++ b/app/SysTray-X/preferences.ui
@@ -176,8 +176,11 @@
1
+
+ 999
+
- 30
+ 60
@@ -193,8 +196,11 @@
1
+
+ 999
+
- 30
+ 60
diff --git a/webext/background.js b/webext/background.js
index 93b0df8..15d19c3 100644
--- a/webext/background.js
+++ b/webext/background.js
@@ -2,8 +2,8 @@ var SysTrayX = {
debugAccounts: false,
pollTiming: {
- pollStartupDelay: "30",
- pollInterval: "30",
+ pollStartupDelay: "60",
+ pollInterval: "60",
},
platformInfo: undefined,
@@ -167,8 +167,8 @@ SysTrayX.Messaging = {
sendPreferencesStorage: function (result) {
const debug = result.debug || "false";
- const pollStartupDelay = result.pollStartupDelay || "30";
- const pollInterval = result.pollInterval || "30";
+ const pollStartupDelay = result.pollStartupDelay || "60";
+ const pollInterval = result.pollInterval || "60";
const hideOnMinimize = result.hideOnMinimize || "true";
const startMinimized = result.startMinimized || "false";
const iconType = result.iconType || "0";
diff --git a/webext/js/defaults.js b/webext/js/defaults.js
index 6ba4ab2..285796c 100644
--- a/webext/js/defaults.js
+++ b/webext/js/defaults.js
@@ -73,11 +73,11 @@ async function getStartupState() {
//
async function getPollTiming() {
function getDelayAndInterval(result) {
- return { pollStartupDelay: result.pollStartupDelay || "30", pollInterval: result.pollInterval || "30" };
+ return { pollStartupDelay: result.pollStartupDelay || "60", pollInterval: result.pollInterval || "60" };
}
function onDelayAndIntervalError() {
- return { pollStartupDelay: "30", pollInterval: "30" };
+ return { pollStartupDelay: "60", pollInterval: "60" };
}
const getTiming = browser.storage.sync.get([
diff --git a/webext/options.html b/webext/options.html
index ca84ff2..a5cb6b1 100644
--- a/webext/options.html
+++ b/webext/options.html
@@ -126,9 +126,9 @@
name="pollStartupDelay"
step="1"
min="1"
- max="99"
- value="30"
- style="width: 3em;"
+ max="999"
+ value="60"
+ style="width: 4em;"
/>
@@ -143,9 +143,9 @@
name="pollInterval"
step="1"
min="1"
- max="99"
- value="30"
- style="width: 3em;"
+ max="999"
+ value="60"
+ style="width: 4em;"
/>