(currentTime)
| 12754 | } |
| 12755 | |
| 12756 | function computeAsyncExpiration(currentTime) { |
| 12757 | // Given the current clock time, returns an expiration time. We use rounding |
| 12758 | // to batch like updates together. |
| 12759 | // Should complete within ~1000ms. 1200ms max. |
| 12760 | var expirationMs = 5000; |
| 12761 | var bucketSizeMs = 250; |
| 12762 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 12763 | } |
| 12764 | |
| 12765 | function computeInteractiveExpiration(currentTime) { |
| 12766 | // Should complete within ~500ms. 600ms max. |
no test coverage detected