VRFS-743: changed expires date to 90 days for perf data link
This commit is contained in:
parent
2dc5e4073e
commit
68a42393e7
|
|
@ -200,7 +200,7 @@ class ApiMusicSessionsController < ApiController
|
|||
bucket = s3.buckets[SampleApp::Application.config.aws_bucket]
|
||||
|
||||
read_url = bucket.objects[uri].url_for(:read,
|
||||
# :expires => SampleApp::Application.config.perf_data_signed_url_timeout * 90,
|
||||
:expires => Time.now + 90.days,
|
||||
:'response_content_type' => 'text/csv').to_s
|
||||
@perfdata.update_attribute(:uri, read_url)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue