()
| 59 | let deploymentScalingUpUntil = 0 |
| 60 | |
| 61 | export function isDeploymentCoolingDown(): boolean { |
| 62 | return Date.now() < deploymentScalingUpUntil |
| 63 | } |
| 64 | |
| 65 | export function markDeploymentScalingUp(): void { |
| 66 | deploymentScalingUpUntil = Date.now() + DEPLOYMENT_COOLDOWN_MS |
no outgoing calls
no test coverage detected