(now: Date = new Date())
| 48 | |
| 49 | /** Check if current time is within deployment hours: daily, 9am ET to 5pm PT. */ |
| 50 | export function isDeploymentHours(now: Date = new Date()): boolean { |
| 51 | return isFreebuffDeploymentHours(now) |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * In-memory cooldown to avoid repeatedly hitting a deployment that is scaling up. |
no test coverage detected