summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-12-11 15:23:21 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-12-11 17:40:11 +0100
commit7cb75aeb4612553f24237e79d459390c71470e0b (patch)
treedda23afe61f0e649a0f98572069afba044fe26b1 /config
parent3e57d88e578f958a6921f893725e8dd767393901 (diff)
downloadgitlab-ce-7cb75aeb4612553f24237e79d459390c71470e0b.tar.gz
Reduce Fog expiration period to 17 years
Diffstat (limited to 'config')
-rw-r--r--config/initializers/carrierwave.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb
index ef837d0d9ff..6875fa74edd 100644
--- a/config/initializers/carrierwave.rb
+++ b/config/initializers/carrierwave.rb
@@ -15,7 +15,7 @@ if File.exists?(aws_file)
config.fog_directory = AWS_CONFIG['bucket'] # required
config.fog_public = false # optional, defaults to true
config.fog_attributes = {'Cache-Control'=>'max-age=315576000'} # optional, defaults to {}
- config.fog_authenticated_url_expiration = 1 << 30 # optional time (in seconds) that authenticated urls will be valid.
+ config.fog_authenticated_url_expiration = 1 << 29 # optional time (in seconds) that authenticated urls will be valid.
# when fog_public is false and provider is AWS or Google, defaults to 600
end
end