3220: Merge branch '3220-http-status-codes' closes #3220
[arvados.git] / services / api / app / models / blob.rb
index c8a886554f1b55264b26d7bd46c2dbd5f2ea7650..7d16048bf81a29d8a806caa5904e2870a42fbf6e 100644 (file)
@@ -43,7 +43,7 @@ class Blob
       end
       timestamp = opts[:expire]
     else
-      timestamp = Time.now.to_i + (opts[:ttl] || 600)
+      timestamp = Time.now.to_i + (opts[:ttl] || 1209600)
     end
     timestamp_hex = timestamp.to_s(16)
     # => "53163cb4"