mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
www: remove dynamic scheduler feature flag: enableProfiling (#29996)
I removed the wrong feature flag in #29995, this is the correct one to match D58682445.
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
// 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 enableProfiling = __VARIANT__;
|
||||
|
||||
export const userBlockingPriorityTimeout = 250;
|
||||
export const normalPriorityTimeout = 5000;
|
||||
export const lowPriorityTimeout = 10000;
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
// $FlowFixMe[cannot-resolve-module]
|
||||
const dynamicFeatureFlags = require('SchedulerFeatureFlags');
|
||||
|
||||
const {enableProfiling: enableProfilingFeatureFlag} = dynamicFeatureFlags;
|
||||
|
||||
export const {
|
||||
userBlockingPriorityTimeout,
|
||||
normalPriorityTimeout,
|
||||
@@ -20,5 +18,4 @@ export const {
|
||||
|
||||
export const frameYieldMs = 10;
|
||||
export const enableSchedulerDebugging = true;
|
||||
export const enableProfiling: boolean =
|
||||
__PROFILE__ && enableProfilingFeatureFlag;
|
||||
export const enableProfiling = __DEV__;
|
||||
|
||||
Reference in New Issue
Block a user