DEV: Remove site setting "diags" (#20481)
Added almost exactly 10 years ago (in a2cca2540e
), I don't think they're useful anymore 😅
This commit is contained in:
parent
a0fb2f45a2
commit
ddbe6cf3b5
|
@ -78,8 +78,5 @@ export default {
|
|||
value: "",
|
||||
},
|
||||
],
|
||||
diags: {
|
||||
last_message_processed: null,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -6,7 +6,7 @@ class Admin::SiteSettingsController < Admin::AdminController
|
|||
end
|
||||
|
||||
def index
|
||||
render_json_dump(site_settings: SiteSetting.all_settings, diags: SiteSetting.diags)
|
||||
render_json_dump(site_settings: SiteSetting.all_settings)
|
||||
end
|
||||
|
||||
def update
|
||||
|
|
|
@ -323,7 +323,6 @@ module SiteSettingExtension
|
|||
|
||||
def process_message(message)
|
||||
begin
|
||||
@last_message_processed = message.global_id
|
||||
MessageBus.on_connect.call(message.site_id)
|
||||
refresh!
|
||||
ensure
|
||||
|
@ -331,10 +330,6 @@ module SiteSettingExtension
|
|||
end
|
||||
end
|
||||
|
||||
def diags
|
||||
{ last_message_processed: @last_message_processed }
|
||||
end
|
||||
|
||||
def process_id
|
||||
@process_id ||= SecureRandom.uuid
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue