We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
large file(more than 1Gbyte) for direct upload take many time. if upload take 10min or more. i got 404 put error message from direct upload http response. because mattr_accessor :service_urls_expire_in, default: 5.minutes https://github.com/rails/rails/blob/master/activestorage/lib/active_storage.rb#L61-L61
mattr_accessor :service_urls_expire_in, default: 5.minutes
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/a/52573490/1399891
vim config/initializers/active_storage.rb
# config/initializers/active_storage.rb Rails.application.config.active_storage.service_urls_expire_in = 2.hour
Sorry, something went wrong.
x1wins
Successfully merging a pull request may close this issue.
large file(more than 1Gbyte) for direct upload take many time.
if upload take 10min or more. i got 404 put error message from direct upload http response.
because
mattr_accessor :service_urls_expire_in, default: 5.minutes
https://github.com/rails/rails/blob/master/activestorage/lib/active_storage.rb#L61-L61
The text was updated successfully, but these errors were encountered: