You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 8, 2021. It is now read-only.
Setting CallOptions timeout does nothing when the RPC is configured to retry.
To reproduce
video_service_client = Google::Cloud::VideoIntelligence::V1beta1::VideoIntelligenceServiceClient.new
features = [Google::Cloud::Videointelligence::V1beta1::Feature::LABEL_DETECTION]
options = Google::Gax::CallOptions.new(timeout: 60)
path = "gs://cloudmleap/video/next/volleyball_court.mp4"
operation = video_service_client.annotate_video(path, features, options: options) do |op|
...
end
Expected behavior
The call retries with an initial timeout of 60s.
Observed behavior
The call fails with "INVALID_ARGUMENT" due to an initial timeout of 19s; the configured timeout is ignored. It is possible to change the timeout only by manually configuring the full backoff settings.