Skip to content

Commit

Permalink
increase react default idle time to 400ms
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed May 26, 2024
1 parent c8fec41 commit 9c27399
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/moody-pumpkins-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect-rx/rx-react": patch
---

increase react default idle time to 400ms
2 changes: 1 addition & 1 deletion packages/rx-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function scheduleTask(f: () => void): void {
*/
export const RegistryContext = React.createContext<Registry.Registry>(Registry.make({
scheduleTask,
defaultIdleTTL: 250
defaultIdleTTL: 400
}))

interface RxStore<A> {
Expand Down

0 comments on commit 9c27399

Please sign in to comment.