(currentTime)
| 13644 | } |
| 13645 | |
| 13646 | function computeAsyncExpiration(currentTime) { |
| 13647 | // Given the current clock time, returns an expiration time. We use rounding |
| 13648 | // to batch like updates together. |
| 13649 | // Should complete within ~1000ms. 1200ms max. |
| 13650 | var expirationMs = 5000; |
| 13651 | var bucketSizeMs = 250; |
| 13652 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 13653 | } |
| 13654 | |
| 13655 | function computeInteractiveExpiration(currentTime) { |
| 13656 | // Should complete within ~500ms. 600ms max. |
no test coverage detected