From 402be2a3d2ce731dcb83661d7e3475ee135dfa77 Mon Sep 17 00:00:00 2001 From: Sergiy Lavrynenko Date: Fri, 17 Nov 2023 11:41:34 +0000 Subject: [PATCH 1/2] Cbanged IMA refresh and SNB intervals --- agent/run.sh | 2 +- agent/state.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/run.sh b/agent/run.sh index e71c6a06f..cacf2dab7 100644 --- a/agent/run.sh +++ b/agent/run.sh @@ -112,7 +112,7 @@ BASE_OPTIONS="--gas-price-multiplier=$GAS_PRICE_MULTIPLIER \ --monitoring-port=$MONITORING_PORT \ --pwa \ --no-expose-pwa \ ---auto-exit=86400" +--auto-exit=3600" echo "Running loop cmd..." node "$DIR/main.mjs" --loop $BASE_OPTIONS diff --git a/agent/state.mjs b/agent/state.mjs index 49676cdec..e63dd1760 100644 --- a/agent/state.mjs +++ b/agent/state.mjs @@ -277,7 +277,7 @@ export function get() { "isEnabled": true, "bParallelModeRefreshSNB": true, // seconds to re-discover SKALE network, 0 to disable - "secondsToReDiscoverSkaleNetwork": 1 * 60 * 60, + "secondsToReDiscoverSkaleNetwork": 90 * 60, // 90 minutes "secondsToWaitForSkaleNetworkDiscovered": 5 * 60 }, From 631b5c8d1cd0755dc4428b6a60ca7305a3848227 Mon Sep 17 00:00:00 2001 From: Sergiy Lavrynenko Date: Fri, 17 Nov 2023 18:08:32 +0000 Subject: [PATCH 2/2] 1h SNB interval --- agent/state.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/state.mjs b/agent/state.mjs index e63dd1760..49676cdec 100644 --- a/agent/state.mjs +++ b/agent/state.mjs @@ -277,7 +277,7 @@ export function get() { "isEnabled": true, "bParallelModeRefreshSNB": true, // seconds to re-discover SKALE network, 0 to disable - "secondsToReDiscoverSkaleNetwork": 90 * 60, // 90 minutes + "secondsToReDiscoverSkaleNetwork": 1 * 60 * 60, "secondsToWaitForSkaleNetworkDiscovered": 5 * 60 },