GCS service: skip unnecessary bucket lookups

This commit is contained in:
George Claghorn 2019-03-14 10:56:41 -04:00
parent b9eda0049e
commit 43fc7b476b
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ module ActiveStorage
end
def bucket
@bucket ||= client.bucket(config.fetch(:bucket))
@bucket ||= client.bucket(config.fetch(:bucket), skip_lookup: true)
end
def client