mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 12:05:47 +08:00
DEV: Use new defaults for ActiveSupport::Digest
Use the `OpenSSL::Digest::SHA256` class for `ActiveSupport::Digest`. This could lead to cache invalidation.
This commit is contained in:
parent
71c74a262d
commit
aa4b1d9c38
@ -30,7 +30,7 @@ Rails.application.config.action_view.apply_stylesheet_media_default = false
|
||||
# Change the digest class for ActiveSupport::Digest.
|
||||
# Changing this default means that for example Etags change and
|
||||
# various cache keys leading to cache invalidation.
|
||||
# Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA256
|
||||
Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA256
|
||||
|
||||
# Don't override ActiveSupport::TimeWithZone.name and use the default Ruby
|
||||
# implementation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user