Skip to content

Commit 13849b7

Browse files
committed
www: remove dynamic scheduler feature flag: enableProfiling
I removed the wrong feature flag in #29995, this is the correct one to match D58682445.
1 parent 6ab67c3 commit 13849b7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

packages/scheduler/src/forks/SchedulerFeatureFlags.www-dynamic.js

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
1212
// with the __VARIANT__ set to `true`, and once set to `false`.
1313

14-
export const enableProfiling = __VARIANT__;
15-
1614
export const userBlockingPriorityTimeout = 250;
1715
export const normalPriorityTimeout = 5000;
1816
export const lowPriorityTimeout = 10000;

packages/scheduler/src/forks/SchedulerFeatureFlags.www.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
// $FlowFixMe[cannot-resolve-module]
1111
const dynamicFeatureFlags = require('SchedulerFeatureFlags');
1212

13-
const {enableProfiling: enableProfilingFeatureFlag} = dynamicFeatureFlags;
14-
1513
export const {
1614
userBlockingPriorityTimeout,
1715
normalPriorityTimeout,
@@ -20,5 +18,4 @@ export const {
2018

2119
export const frameYieldMs = 10;
2220
export const enableSchedulerDebugging = true;
23-
export const enableProfiling: boolean =
24-
__PROFILE__ && enableProfilingFeatureFlag;
21+
export const enableProfiling = __DEV__;

0 commit comments

Comments
 (0)