Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: increase default staleTime for paginated data#11041

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Parkreiner merged 6 commits intomainfrommes/pag-fix-2
Dec 5, 2023

Conversation

Parkreiner
Copy link
Member

@ParkreinerParkreiner commentedDec 5, 2023
edited
Loading

Closes#11016 in tandem with#11040

Changes made

  • Increases thestaleTime value forusePaginatedQuery so that data only gets auto-invalidated after 1 minute passes (instead of it happening immediately)
    • Could have applied this change to the entire app, but that would have required a lot more testing
    • We probably should increase the app'sstaleTime at some point, but making a more local change was the least aggressive way to wrangle theusePaginatedQuery hook for now
    • Data can still be invalidated manually when need be with no issue, though

@ParkreinerParkreiner self-assigned thisDec 5, 2023
cdr-bot[bot]
cdr-botbot approved these changesDec 5, 2023
Copy link

@cdr-botcdr-botbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This PR is a hotfix and has been automatically approved.

  • ✅ Base is main
  • ✅ Has hotfix label
  • ✅ Head is from coder/coder
  • ✅ Less than 100 lines

@ParkreinerParkreinerenabled auto-merge (squash)December 5, 2023 14:40
@ParkreinerParkreiner merged commitfab343a intomainDec 5, 2023
@ParkreinerParkreiner deleted the mes/pag-fix-2 branchDecember 5, 2023 14:41
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsDec 5, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@cdr-botcdr-bot[bot]cdr-bot[bot] approved these changes

Assignees

@ParkreinerParkreiner

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Audit log page makes unncessary API requests

1 participant

@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp