mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Align S3 transfer acceleration global settings (#24302)
Followup to fe05fdae24
For consistency with other S3 settings, make the global setting
the same name as the site setting and use SiteSetting.Upload
too so it reads from the correct place.
This commit is contained in:
@@ -25,7 +25,7 @@ module FileStore
|
||||
S3Helper.new(
|
||||
s3_bucket,
|
||||
Rails.configuration.multisite ? multisite_tombstone_prefix : TOMBSTONE_PREFIX,
|
||||
use_accelerate_endpoint: SiteSetting.enable_s3_transfer_acceleration,
|
||||
use_accelerate_endpoint: SiteSetting.Upload.enable_s3_transfer_acceleration,
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user