googleapis / googleapis/google-cloud-java
[sdk-platform-java] Increase the default LRO timeout value
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
The current default total LRO timeout value is 300s, see an example in [java-aiplatform](https://github.com/googleapis/google-cloud-java/blob/9ae786d1acdc7354adf86b78691570668caa293d/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/EndpointServiceStubSettings.java#L764). This default value is fine for most of the cases, but it is too short for some tasks that is known to be run for 10+ minutes, like [DeployModel](https://github.com/googleapis/google-cloud-java/blob/9ae786d1acdc7354adf86b78691570668caa293d/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/endpoint_service.proto#L97-L108), and we are getting more customers complaining about it.
Currently C++ has a default value of 1800s and C# has 24 hours, we need to do more investigation and decide what's the best value for Java.
Contributor guide
Assessment
This issue has not been assessed yet.