diff --git a/main.go b/main.go index 2dc8bd42..0c0f4631 100644 --- a/main.go +++ b/main.go @@ -187,10 +187,10 @@ func main() { cfg.VFIOPath, cfg.CgroupPath, &cfg.ConnectTo, cfg.DialTimeout, + grpc.WithBlock(), grpc.WithTransportCredentials( grpcfd.TransportCredentials(credentials.NewTLS(tlsconfig.MTLSClientConfig(source, source, tlsconfig.AuthorizeAny())))), grpc.WithDefaultCallOptions( - grpc.WaitForReady(true), grpc.PerRPCCredentials(token.NewPerRPCCredentials(spiffejwt.TokenGeneratorFunc(source, cfg.MaxTokenLifetime))), ), grpcfd.WithChainStreamInterceptor(),