From ad1055d1917a1c9a4c1e042ec25c399881a90c86 Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Thu, 28 Dec 2023 12:58:05 +0800 Subject: [PATCH] adjust frequency --- src/modules/[chain]/uptime/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/[chain]/uptime/index.vue b/src/modules/[chain]/uptime/index.vue index 75e2e21e..08af446b 100644 --- a/src/modules/[chain]/uptime/index.vue +++ b/src/modules/[chain]/uptime/index.vue @@ -125,7 +125,7 @@ function updateTotalSigningInfo() { const commits2 = computed(() => { const la = baseStore.recents.map((b) => b.block.last_commit); // trigger update total signing info - if(la.length > 0 && la.at(0)?.height|| 0 % 7 === 0) { + if(la.length > 0 && Number(la.at(0)?.height|| 0) % 10 === 7) { updateTotalSigningInfo(); }; const all = [...commits.value, ...la];