SECURITY: Disable MessageBus::Diagnostics.
MessageBus::Diagnostics allows anyone with access to carry out certain operations that may result in a denial of service. The impact of this is greater on multisiite clusters.
This commit is contained in:
parent
e6480bbb04
commit
bd034485d7
|
@ -130,7 +130,6 @@ else
|
||||||
end
|
end
|
||||||
|
|
||||||
MessageBus.cache_assets = !Rails.env.development?
|
MessageBus.cache_assets = !Rails.env.development?
|
||||||
MessageBus.enable_diagnostics
|
|
||||||
|
|
||||||
if Rails.env == "test" || $0 =~ /rake$/
|
if Rails.env == "test" || $0 =~ /rake$/
|
||||||
# disable keepalive in testing
|
# disable keepalive in testing
|
||||||
|
|
Loading…
Reference in New Issue