Skip to content
Snippets Groups Projects
Commit f271119b authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Add configuration of timeouts on google api client

parent 9696e49f
No related merge requests found
require 'google/apis/options'
##
# Timeouts configuration for Google::Apis::StorageV1::StorageService
#
# This configuration is honored at the following conditions
# - Object storage integrations (LFS/Job Artifact/Upload) is active, and it connects to GCS
#
# More details in https://github.com/google/google-api-ruby-client/blob/master/MIGRATING.md#timeouts
::Google::Apis::ClientOptions.default.open_timeout_sec = 1234 # TODO: Parameter
::Google::Apis::ClientOptions.default.read_timeout_sec = 1234 # TODO: Parameter
::Google::Apis::ClientOptions.default.send_timeout_sec = 1234 # TODO: Parameter
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment