21206: Send requesting_container_uuid attribute in update events.
[arvados.git] / services / api / config / application.rb
index 74744e220878702eb3e92f341bbfd06b30a33617..716383f2035e63095055116f1e103dda82e9b40c 100644 (file)
@@ -32,8 +32,8 @@ module Server
 
     require_relative "arvados_config.rb"
 
-    # Initialize configuration defaults for originally generated Rails version.
-    config.load_defaults 5.0
+    # Initialize configuration defaults for specified Rails version.
+    config.load_defaults 7.0
 
     # Configuration for the application, engines, and railties goes here.
     #
@@ -59,6 +59,11 @@ module Server
     # from connecting to Rails internally via plain http.
     config.ssl_options = {redirect: false}
 
+    # This will change to 7.0 in a future release when there is no
+    # longer a possibility of rolling back to Arvados 2.7 (Rails 5.2)
+    # which cannot read 7.0-format cache files.
+    config.active_support.cache_format_version = 6.1
+
     # Before using the filesystem backend for Rails.cache, check
     # whether we own the relevant directory. If we don't, using it is
     # likely to either fail or (if we're root) pollute it and cause