fix(frontend): 항공기 API 폴링 주기 15초/25초 → 60초 (Rate Limit 대응)
This commit is contained in:
부모
7cde0c57d8
커밋
5abbe1ded7
@ -266,7 +266,7 @@ function AuthenticatedApp({ user, onLogout }: AuthenticatedAppProps) {
|
||||
}
|
||||
};
|
||||
load();
|
||||
const interval = setInterval(load, 15_000);
|
||||
const interval = setInterval(load, 60_000);
|
||||
return () => clearInterval(interval);
|
||||
}, [appMode, refreshKey]);
|
||||
|
||||
@ -325,7 +325,7 @@ function AuthenticatedApp({ user, onLogout }: AuthenticatedAppProps) {
|
||||
if (result.length > 0) setBaseAircraftKorea(result);
|
||||
};
|
||||
load();
|
||||
const interval = setInterval(load, 25_000);
|
||||
const interval = setInterval(load, 60_000);
|
||||
return () => clearInterval(interval);
|
||||
}, [refreshKey]);
|
||||
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user