(currentTime, expirationInMs, bucketSizeMs)
| 11287 | } |
| 11288 | |
| 11289 | function computeExpirationBucket(currentTime, expirationInMs, bucketSizeMs) { |
| 11290 | return MAGIC_NUMBER_OFFSET - ceiling(MAGIC_NUMBER_OFFSET - currentTime + expirationInMs / UNIT_SIZE, bucketSizeMs / UNIT_SIZE); |
| 11291 | } // TODO: This corresponds to Scheduler's NormalPriority, not LowPriority. Update |
| 11292 | // the names to reflect. |
| 11293 | |
| 11294 |
no test coverage detected