From 0440ea652fdd4a4789f729dace78dad0a5877ec2 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Fri, 24 May 2024 19:34:05 +0300 Subject: [PATCH] increase attachment url ttl --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index f1818e53..9d2071d8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -52,7 +52,7 @@ Rails.application.configure do end config.active_storage.resolve_model_to_route = :rails_storage_proxy if ENV['ACTIVE_STORAGE_PUBLIC'] != 'true' - config.active_storage.service_urls_expire_in = 15.minutes + config.active_storage.service_urls_expire_in = 4.hours # Mount Action Cable outside main process or domain. # config.action_cable.mount_path = nil