mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 08:23:44 +08:00
1e3caeafa0
When upgrading to Rails 7.1, we had some problems because we were using several tagged loggers at the same time. They were all added to the main broadcast logger shipped with Rails, but the Rails 7.1 codebase contains a bug making a request being run as many times as there are tagged loggers. The fix was to use the code from the Rails 7.2 codebase. This patch adds a small spec to ensure the behavior will stay the proper one in the future. |
||
---|---|---|
.. | ||
coding_style_spec.rb | ||
common_mark_spec.rb | ||
having_multiple_tagged_loggers_spec.rb | ||
i18n_spec.rb | ||
js_constants_spec.rb | ||
middleware_order_spec.rb | ||
oj_spec.rb | ||
onceoff_integrity_spec.rb | ||
site_setting_spec.rb |