Skip to content

Connectum API Reference / @connectum/cli / utils/reflection / MAX_REFLECTION_TIMEOUT_MS

Variable: MAX_REFLECTION_TIMEOUT_MS ​

const MAX_REFLECTION_TIMEOUT_MS: 99999999 = 99_999_999

Defined in: utils/reflection.ts:53

Largest time limit that can be sent: the Connect client puts the deadline into the grpc-timeout header in milliseconds only, and the header value is at most eight decimal digits, so 99 999 999 ms (about 27.8 hours) is the longest limit a server accepts. A longer value is refused by the server as an invalid header.