From e9db8fd63d17f93e21b0368fbbd1955b3f42e135 Mon Sep 17 00:00:00 2001 From: Rick Hanlon Date: Mon, 16 Dec 2024 22:34:53 -0500 Subject: [PATCH] [flags] Clean up scheduler flags --- .../forks/SchedulerFeatureFlags.www-dynamic.js | 3 --- .../src/forks/SchedulerFeatureFlags.www.js | 15 +++++++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js b/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js index 9346663083bc6..e20a8e7a3a5de 100644 --- a/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js +++ b/packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js @@ -11,7 +11,4 @@ // Use __VARIANT__ to simulate a GK. The tests will be run twice: once // with the __VARIANT__ set to `true`, and once set to `false`. -export const userBlockingPriorityTimeout = 250; -export const normalPriorityTimeout = 5000; -export const lowPriorityTimeout = 10000; export const enableRequestPaint = __VARIANT__; diff --git a/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js b/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js index ec8498ec6adb5..c65e2aea241f9 100644 --- a/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js +++ b/packages/scheduler/src/forks/SchedulerFeatureFlags.www.js @@ -10,13 +10,12 @@ // $FlowFixMe[cannot-resolve-module] const dynamicFeatureFlags = require('SchedulerFeatureFlags'); -export const { - userBlockingPriorityTimeout, - normalPriorityTimeout, - lowPriorityTimeout, - enableRequestPaint, -} = dynamicFeatureFlags; +export const {enableRequestPaint} = dynamicFeatureFlags; -export const frameYieldMs = 10; -export const enableSchedulerDebugging = true; +export const enableSchedulerDebugging = false; export const enableProfiling = __DEV__; +export const frameYieldMs = 10; + +export const userBlockingPriorityTimeout = 250; +export const normalPriorityTimeout = 5000; +export const lowPriorityTimeout = 10000;