igor-dv opened a new pull request, #41744: URL: https://github.com/apache/beam/pull/41744
fixes #41743 `Execute` always dials a gRPC connection for the job service and another for artifact staging, then closes both when the job ends. A process that submits many jobs in a row can leave a lot of sockets in TIME_WAIT. `JobOptions.Dial` lets the caller provide those connections. `Execute` does not close what `Dial` returns. `Dial` is called once per endpoint (job and artifact may differ). If `Dial` is nil, `Execute` still dials with `grpcx.Dial` and closes as before. The exported `Stage` is unchanged: it still dials and closes. No breaking change: `Dial` is a new field on `JobOptions`, zero value is nil. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
