<#3737 [Housekeeping] It should be possible to set...
# flyte-github
a
#3737 [Housekeeping] It should be possible to set a ctx timeout for admin clientsets Issue created by katrogan Describe the issue See https://github.com/flyteorg/flyteidl/blob/master/clients/go/admin/client_builder.go Calls made by clients using the admin clientset should use
WithDeadline
with an optionally configurable deadline set in config What if we do not do this? See https://grpc.io/blog/deadlines/
In general, when you don’t set a deadline, resources will be held for all in-flight requests, and all requests can potentially reach the maximum timeout. This puts the service at risk of running out of resources, like memory, which would increase the latency of the service, or could crash the entire process in the worst case.
Related component(s) flyteidl Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte