(timeoutMs: number)
| 24 | } |
| 25 | |
| 26 | const formatTimeout = (timeoutMs: number): string => |
| 27 | timeoutMs % 1_000 === 0 ? `${timeoutMs / 1_000}s` : `${timeoutMs}ms`; |
| 28 | |
| 29 | const invocationTimeoutMessage = (timeoutMs: number): string => |
| 30 | `GraphQL upstream did not complete within ${formatTimeout(timeoutMs)}. The request was aborted. Retry the operation or verify that the endpoint is responsive.`; |
no outgoing calls
no test coverage detected