Thanks for the reply - I've created a feature request for this upstream. On Tuesday, February 15, 2022 at 6:09:34 AM UTC+11 Michael Lumish wrote:
> grpc-js does not currently support that functionality, so it also does not > currently recognize that option. > > On Sun, Feb 13, 2022 at 8:41 PM Joshua Karp <j.k...@ozemail.com.au> wrote: > >> I'm wanting to adjust the idle timeout for a gRPC channel (i.e. the time >> required for the channel to move from a READY state to an IDLE state, as >> per the core specs >> <https://grpc.github.io/grpc/core/md_doc_connectivity-semantics-and-api.html>) >> >> in grpc-js. >> >> gRPC core suggests there's a GRPC_ARG_CLIENT_IDLE_TIMEOUT_MS >> <https://grpc.github.io/grpc/core/group__grpc__arg__keys.html#ga51ab062269cd81298f5adb6fd9a45e99> >> >> to change this value (currently defaulting to 300 seconds). I expected this >> to be part of ChannelOptions or ClientOptions in grpc-js, but couldn't find >> anything. Is there a way to adjust this? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "grpc.io" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to grpc-io+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/2ec8eb2a-132e-40e6-b3c2-a3081922f8aan%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/2ec8eb2a-132e-40e6-b3c2-a3081922f8aan%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/60050c78-abe6-44d1-9c8c-b3b2cbdae351n%40googlegroups.com.