(currentTime)
| 11295 | var LOW_PRIORITY_EXPIRATION = 5000; |
| 11296 | var LOW_PRIORITY_BATCH_SIZE = 250; |
| 11297 | function computeAsyncExpiration(currentTime) { |
| 11298 | return computeExpirationBucket(currentTime, LOW_PRIORITY_EXPIRATION, LOW_PRIORITY_BATCH_SIZE); |
| 11299 | } |
| 11300 | function computeSuspenseExpiration(currentTime, timeoutMs) { |
| 11301 | // TODO: Should we warn if timeoutMs is lower than the normal pri expiration time? |
| 11302 | return computeExpirationBucket(currentTime, timeoutMs, LOW_PRIORITY_BATCH_SIZE); |
no test coverage detected