(currentTime)
| 13428 | } |
| 13429 | |
| 13430 | function computeAsyncExpiration(currentTime) { |
| 13431 | // Given the current clock time, returns an expiration time. We use rounding |
| 13432 | // to batch like updates together. |
| 13433 | // Should complete within ~1000ms. 1200ms max. |
| 13434 | var expirationMs = 5000; |
| 13435 | var bucketSizeMs = 250; |
| 13436 | return computeExpirationBucket(currentTime, expirationMs, bucketSizeMs); |
| 13437 | } |
| 13438 | |
| 13439 | function computeInteractiveExpiration(currentTime) { |
| 13440 | // Should complete within ~500ms. 600ms max. |
no test coverage detected