(currentTime)
| 12626 | } |
| 12627 | |
| 12628 | function computeAsyncExpiration(currentTime) { |
| 12629 | // Given the current clock time, returns an expiration time. We use rounding |
| 12630 | // to batch like updates together. |
| 12631 | // Should complete within ~1000ms. 1200ms max. |
| 12632 | var expirationMs = 5000; |
| 12633 | var bucketSizeMs = 250; |
| 12634 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 12635 | } |
| 12636 | |
| 12637 | function computeInteractiveExpiration(currentTime) { |
| 12638 | // Should complete within ~500ms. 600ms max. |
no test coverage detected