mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
GCS service: skip unnecessary bucket lookups
This commit is contained in:
parent
b9eda0049e
commit
43fc7b476b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue