From 9cf3733a9a43aa53d1a3cc94b2cd015b235b84cc Mon Sep 17 00:00:00 2001 From: Nathan Quarles Date: Thu, 7 Jun 2018 16:12:08 -0400 Subject: [PATCH] update comment in computeAsyncExpiration() to reflect code (#12994) --- packages/react-reconciler/src/ReactFiberScheduler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-reconciler/src/ReactFiberScheduler.js b/packages/react-reconciler/src/ReactFiberScheduler.js index dbd252a20e..0bd0f1c82e 100644 --- a/packages/react-reconciler/src/ReactFiberScheduler.js +++ b/packages/react-reconciler/src/ReactFiberScheduler.js @@ -1208,7 +1208,7 @@ function captureCommitPhaseError(fiber: Fiber, error: mixed) { function computeAsyncExpiration(currentTime: ExpirationTime) { // Given the current clock time, returns an expiration time. We use rounding // to batch like updates together. - // Should complete within ~1000ms. 1200ms max. + // Should complete within ~5000ms. 5250ms max. const expirationMs = 5000; const bucketSizeMs = 250; return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs);