fix indicator

This commit is contained in:
PhilReact 2024-01-03 15:57:37 +02:00
parent fee90d4934
commit 1f5f759f51
2 changed files with 3 additions and 1 deletions

View File

@ -167,6 +167,8 @@ class SyncIndicator extends connect(store)(LitElement) {
state.app.nodeStatus &&
state.app.nodeStatus.syncPercent !== this.syncPercentage
) {
this.hasCoreRunning = true
this.numberOfTries = 0
this.syncPercentage = state.app.nodeStatus.syncPercent;
if (state.app.nodeStatus.syncPercent !== 100) {

View File

@ -1,6 +1,6 @@
import {parentEpml} from '../connect.js'
const MIN_RECONNECT_INTERVAL = 1000; // 1 second
const MAX_RECONNECT_INTERVAL = 300000; // 5 minutes
const MAX_RECONNECT_INTERVAL = 60000; // 1 minute
let socketObject
let activeBlockSocketTimeout