mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 07:25:37 +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.
|
# Change the digest class for ActiveSupport::Digest.
|
||||||
# Changing this default means that for example Etags change and
|
# Changing this default means that for example Etags change and
|
||||||
# various cache keys leading to cache invalidation.
|
# 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
|
# Don't override ActiveSupport::TimeWithZone.name and use the default Ruby
|
||||||
# implementation.
|
# implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user