(currentTime)
| 13531 | } |
| 13532 | |
| 13533 | function computeAsyncExpiration(currentTime) { |
| 13534 | // Given the current clock time, returns an expiration time. We use rounding |
| 13535 | // to batch like updates together. |
| 13536 | // Should complete within ~1000ms. 1200ms max. |
| 13537 | var expirationMs = 5000; |
| 13538 | var bucketSizeMs = 250; |
| 13539 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 13540 | } |
| 13541 | |
| 13542 | function computeInteractiveExpiration(currentTime) { |
| 13543 | // Should complete within ~500ms. 600ms max. |
no test coverage detected