mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
641c4e0b7a
Previously we hardcoded the DOWNLOAD_URL_EXPIRES_AFTER_SECONDS const inside S3Helper to be 5 minutes (300 seconds). For various reasons, some hosted sites may need this to be longer for other integrations. The maximum expiry time for presigned URLs is 1 week (which is 604800 seconds), so that has been added as a validation on the setting as well. The setting is hidden because 99% of the time it should not be changed. |
||
---|---|---|
.. | ||
distributed_cache_spec.rb | ||
jobs_spec.rb | ||
pausable_multisite_spec.rb | ||
pausable_spec.rb | ||
post_spec.rb | ||
request_tracker_spec.rb | ||
s3_store_spec.rb | ||
site_settings_spec.rb |