update comment in computeAsyncExpiration() to reflect code (#12994)
Nathan Quarles committed
Jun 7, 2018 at 16:12 UTC
9cf3733a9a43aa53d1a3cc94b2cd015b235b84cc
1 file changed
+1
-1
packages/react-reconciler/src/ReactFiberScheduler.js
+1
-1
@@ -1208,7 +1208,7 @@ function captureCommitPhaseError(fiber: Fiber, error: mixed) {
1208
function computeAsyncExpiration(currentTime: ExpirationTime) {
1209
// Given the current clock time, returns an expiration time. We use rounding
1210
// to batch like updates together.
1211
- // Should complete within ~1000ms. 1200ms max.
1211
+ // Should complete within ~5000ms. 5250ms max.
1212
const expirationMs = 5000;
1213
const bucketSizeMs = 250;
1214
return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs);