-Rails.application.config.active_storage.queue = :storage
-Rails.application.config.active_storage.variable_content_types << "image/bmp"
+Rails.application.config.active_storage.queues.analysis = :storage
+Rails.application.config.active_storage.queues.purge = :storage
Rails.configuration.after_initialize do
require "active_storage/service/s3_service"
ActiveSupport::Reloader.to_complete do
ActiveStorage::Variant.prepend(OpenStreetMap::ActiveStorage::Variant)
end
+
+ ActiveStorage.service_urls_expire_in = 1.week
end