Skip to content

Commit 3d502d2

Browse files
committed
Nvm, keep it as disableSchedulerTimeoutInWorkLoop
1 parent 64a93ff commit 3d502d2

12 files changed

+29
-29
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.new.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
enableDebugTracing,
3232
enableSchedulingProfiler,
3333
enableScopeAPI,
34-
enableSchedulerTimeoutInWorkLoop,
34+
disableSchedulerTimeoutInWorkLoop,
3535
} from 'shared/ReactFeatureFlags';
3636
import ReactSharedInternals from 'shared/ReactSharedInternals';
3737
import invariant from 'shared/invariant';
@@ -833,7 +833,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
833833
// bug we're still investigating. Once the bug in Scheduler is fixed,
834834
// we can remove this, since we track expiration ourselves.
835835
if (
836-
enableSchedulerTimeoutInWorkLoop &&
836+
disableSchedulerTimeoutInWorkLoop &&
837837
didTimeout
838838
) {
839839
// Something expired. Flush synchronously until there's no expired

packages/react-reconciler/src/ReactFiberWorkLoop.old.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
enableSchedulingProfiler,
3434
enableScopeAPI,
3535
enableDoubleInvokingEffects,
36-
enableSchedulerTimeoutInWorkLoop,
36+
disableSchedulerTimeoutInWorkLoop,
3737
} from 'shared/ReactFeatureFlags';
3838
import ReactSharedInternals from 'shared/ReactSharedInternals';
3939
import invariant from 'shared/invariant';
@@ -841,7 +841,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
841841
// bug we're still investigating. Once the bug in Scheduler is fixed,
842842
// we can remove this, since we track expiration ourselves.
843843
if (
844-
enableSchedulerTimeoutInWorkLoop &&
844+
disableSchedulerTimeoutInWorkLoop &&
845845
didTimeout
846846
) {
847847
// Something expired. Flush synchronously until there's no expired

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ export const enableUseRefAccessWarning = false;
142142

143143
export const enableRecursiveCommitTraversal = false;
144144

145-
export const enableSchedulerTimeoutInWorkLoop = false;
145+
export const disableSchedulerTimeoutInWorkLoop = false;

packages/shared/forks/ReactFeatureFlags.native-fb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const enableDoubleInvokingEffects = false;
5656
export const enableUseRefAccessWarning = false;
5757

5858
export const enableRecursiveCommitTraversal = false;
59-
export const enableSchedulerTimeoutInWorkLoop = false;
59+
export const disableSchedulerTimeoutInWorkLoop = false;
6060

6161
// Flow magic to verify the exports of this file match the original version.
6262
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.native-oss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = false;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.test-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = false;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.test-renderer.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = false;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.test-renderer.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = true;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.testing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = false;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

packages/shared/forks/ReactFeatureFlags.testing.www.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const enableDoubleInvokingEffects = false;
5555
export const enableUseRefAccessWarning = false;
5656

5757
export const enableRecursiveCommitTraversal = false;
58-
export const enableSchedulerTimeoutInWorkLoop = false;
58+
export const disableSchedulerTimeoutInWorkLoop = false;
5959

6060
// Flow magic to verify the exports of this file match the original version.
6161
// eslint-disable-next-line no-unused-vars

0 commit comments

Comments
 (0)