(timeoutMs: number)
| 216 | } |
| 217 | |
| 218 | const formatTimeout = (timeoutMs: number): string => |
| 219 | timeoutMs % 1_000 === 0 ? `${timeoutMs / 1_000}s` : `${timeoutMs}ms`; |
| 220 | |
| 221 | const responseHeadersTimeoutMessage = (timeoutMs: number): string => |
| 222 | `Upstream returned no response headers within ${formatTimeout(timeoutMs)}. The endpoint may be a live stream with no data to send (for example, runtime logs of an idle deployment); the request was aborted. Retry when the resource has activity, or use a non-streaming endpoint.`; |
no outgoing calls
no test coverage detected