(timeoutMs: number)
| 177 | } |
| 178 | |
| 179 | const formatTimeout = (timeoutMs: number): string => |
| 180 | timeoutMs % 1_000 === 0 ? `${timeoutMs / 1_000}s` : `${timeoutMs}ms`; |
| 181 | |
| 182 | const responseHeadersTimeoutMessage = (timeoutMs: number): string => |
| 183 | `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