issue #10 날씨 및 항공 정보 업데이트 주기 릴리즈로 수정.
This commit is contained in:
@@ -209,8 +209,7 @@ async function sworker_service(args) {
|
|||||||
let _tm_diff_s = Math.floor(_tm_diff_ms / 1000);
|
let _tm_diff_s = Math.floor(_tm_diff_ms / 1000);
|
||||||
|
|
||||||
//WEATHER정보는 매 2시간 마다 한번씩 업데이트
|
//WEATHER정보는 매 2시간 마다 한번씩 업데이트
|
||||||
//if (_tm_diff_s > 7200) {
|
if (_tm_diff_s > 7200) {
|
||||||
if (_tm_diff_s > 60) {
|
|
||||||
g_tm_prev.weather = _tm_cur;
|
g_tm_prev.weather = _tm_cur;
|
||||||
_bNeed_Update.weather = true;
|
_bNeed_Update.weather = true;
|
||||||
}
|
}
|
||||||
@@ -222,8 +221,7 @@ async function sworker_service(args) {
|
|||||||
let _tm_diff_s = Math.floor(_tm_diff_ms / 1000);
|
let _tm_diff_s = Math.floor(_tm_diff_ms / 1000);
|
||||||
|
|
||||||
//WEATHER정보는 매 1시간 마다 한번씩 업데이트
|
//WEATHER정보는 매 1시간 마다 한번씩 업데이트
|
||||||
//if (_tm_diff_s > 3600) {
|
if (_tm_diff_s > 3600) {
|
||||||
if (_tm_diff_s > 60) {
|
|
||||||
g_tm_prev.widget = _tm_cur;
|
g_tm_prev.widget = _tm_cur;
|
||||||
_bNeed_Update.widget = true;
|
_bNeed_Update.widget = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user