(currentTime)
| 13393 | } |
| 13394 | |
| 13395 | function computeAsyncExpiration(currentTime) { |
| 13396 | // Given the current clock time, returns an expiration time. We use rounding |
| 13397 | // to batch like updates together. |
| 13398 | // Should complete within ~1000ms. 1200ms max. |
| 13399 | var expirationMs = 5000; |
| 13400 | var bucketSizeMs = 250; |
| 13401 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 13402 | } |
| 13403 | |
| 13404 | function computeInteractiveExpiration(currentTime) { |
| 13405 | // Should complete within ~500ms. 600ms max. |
no test coverage detected