Skip to content

fix: 풀링 주기 수정#62

Merged
haeni82 merged 1 commit into
developfrom
feature/policy-api
Mar 19, 2026
Merged

fix: 풀링 주기 수정#62
haeni82 merged 1 commit into
developfrom
feature/policy-api

Conversation

@haeni82
Copy link
Copy Markdown
Contributor

@haeni82 haeni82 commented Mar 19, 2026

이슈

  • closed #이슈번호

✔️ 체크리스트

  • : Merge할 브랜치를 확인해 주세요.

🔍 작업 내용

⚠️ 주의 사항 / 기타

Summary by CodeRabbit

릴리스 노트

  • 기능 개선
    • 데이터 갱신 주기를 10초에서 1초로 단축했습니다. 사용자 데이터 사용량, 가족 구성원 정보, 공유 풀 현황, 라인별 차단 상태 등이 더 빠르게 실시간으로 업데이트됩니다.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 19, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2448d481-65d2-4613-b1ab-65405d6cef33

📥 Commits

Reviewing files that changed from the base of the PR and between bf79647 and c1b0eac.

📒 Files selected for processing (2)
  • src/page/Detail/DetailPage.tsx
  • src/page/Main/MainPage.tsx

📝 Walkthrough

Walkthrough

Detail 페이지와 Main 페이지의 폴링 간격을 10000ms에서 1000ms로 변경하여 데이터 사용량 및 쿼리 갱신 빈도를 10배 증가시켰습니다. 제어 흐름이나 오류 처리는 변경되지 않았습니다.

Changes

Cohort / File(s) Summary
세부 정보 페이지 폴링 간격
src/page/Detail/DetailPage.tsx
현재 월 데이터 사용량 조회의 setInterval 폴링 간격을 10000ms에서 1000ms로 단축하여 userService.getDataUsage 호출 빈도 증가.
Main 페이지 React Query 갱신 간격
src/page/Main/MainPage.tsx
네 개 쿼리(familyMembers, UsageData, sharedPool, blockStatus)의 refetchInterval을 10000ms에서 1000ms로 변경하여 갱신 빈도 10배 증가.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/policy-api
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@haeni82 haeni82 merged commit 42a71a2 into develop Mar 19, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant