고정밀 위치 자동 갱신 3초 조정
This commit is contained in:
+3
-3
@@ -1079,7 +1079,7 @@ setInterval(() => {
|
||||
if (document.getElementById('autoUpdateSwitch')?.checked || highAccuracyModeActive) {
|
||||
callDeviceWebhook('auto_tick');
|
||||
}
|
||||
}, 1000);
|
||||
}, 3000);
|
||||
|
||||
setInterval(() => {
|
||||
if (!findmydeviceAuthenticated) return;
|
||||
@@ -1088,7 +1088,7 @@ setInterval(() => {
|
||||
if (el) el.textContent = getRelativeTime(lastUpdateISOTime);
|
||||
}
|
||||
|
||||
// 히스토리 범위가 활성화된 경우: hash 체크 생략하고 같은 범위로 재요청(낭비 방지로 5초 권장)
|
||||
// 히스토리 범위가 활성화된 경우: hash 체크 생략
|
||||
if (_overrideRange) return; // 간단히 폴링 정지 (원하면 5초 주기로 같은 범위 재요청하도록 변경 가능)
|
||||
|
||||
const rangeChanged = syncLiveHistoryRangeInputs(false);
|
||||
@@ -1097,7 +1097,7 @@ setInterval(() => {
|
||||
lastHash = hash;
|
||||
fetchDeviceData(true).then(data => updateDOMWithData(data));
|
||||
});
|
||||
}, 1000);
|
||||
}, 3000);
|
||||
|
||||
function formatNumber(num) {
|
||||
if (num == null || isNaN(num)) return '-';
|
||||
|
||||
Reference in New Issue
Block a user