Skip to content

Commit

Permalink
make frameYieldMs flag static, set to 10ms in www
Browse files Browse the repository at this point in the history
  • Loading branch information
noahlemen committed Feb 26, 2024
1 parent 5ca65e1 commit 721b335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

export const enableProfiling = __VARIANT__;

export const frameYieldMs = 5;

export const userBlockingPriorityTimeout = 250;
export const normalPriorityTimeout = 5000;
export const lowPriorityTimeout = 10000;
3 changes: 2 additions & 1 deletion packages/scheduler/src/forks/SchedulerFeatureFlags.www.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ export const {
userBlockingPriorityTimeout,
normalPriorityTimeout,
lowPriorityTimeout,
frameYieldMs,
} = dynamicFeatureFlags;

export const frameYieldMs = 10;
export const enableSchedulerDebugging = true;
export const enableProfiling: boolean =
__PROFILE__ && enableProfilingFeatureFlag;

0 comments on commit 721b335

Please sign in to comment.