(currentTime)
| 12723 | } |
| 12724 | |
| 12725 | function computeAsyncExpiration(currentTime) { |
| 12726 | // Given the current clock time, returns an expiration time. We use rounding |
| 12727 | // to batch like updates together. |
| 12728 | // Should complete within ~1000ms. 1200ms max. |
| 12729 | var expirationMs = 5000; |
| 12730 | var bucketSizeMs = 250; |
| 12731 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 12732 | } |
| 12733 | |
| 12734 | function computeInteractiveExpiration(currentTime) { |
| 12735 | // Should complete within ~500ms. 600ms max. |
no test coverage detected