Change Rails' cache format to 7.0 (#27393)
parent
4a7395d989
commit
393e851649
|
@ -63,13 +63,6 @@ module Mastodon
|
||||||
# Initialize configuration defaults for originally generated Rails version.
|
# Initialize configuration defaults for originally generated Rails version.
|
||||||
config.load_defaults 7.0
|
config.load_defaults 7.0
|
||||||
|
|
||||||
# TODO: Release a version which uses the 7.0 defaults as specified above,
|
|
||||||
# but preserves the 6.1 cache format as set below. In a subsequent change,
|
|
||||||
# remove this line setting to 6.1 cache format, and then release another version.
|
|
||||||
# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#new-activesupport-cache-serialization-format
|
|
||||||
# https://github.com/mastodon/mastodon/pull/24241#discussion_r1162890242
|
|
||||||
config.active_support.cache_format_version = 6.1
|
|
||||||
|
|
||||||
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
# Please, add to the `ignore` list any other `lib` subdirectories that do
|
||||||
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
# not contain `.rb` files, or that should not be reloaded or eager loaded.
|
||||||
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
# Common ones are `templates`, `generators`, or `middleware`, for example.
|
||||||
|
|
Loading…
Reference in New Issue