Fixed attachments migrations at Admin Panel to not use too much CPU while migrating attachments.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-10-11 10:48:12 +03:00
parent de77776cd0
commit d59683eff1
8 changed files with 1637 additions and 0 deletions

View file

@ -16,6 +16,7 @@ BlazeComponent.extendComponent({
this.accessibilitySetting = new ReactiveVar(false);
this.layoutSetting = new ReactiveVar(false);
this.webhookSetting = new ReactiveVar(false);
this.attachmentSettings = new ReactiveVar(false);
Meteor.subscribe('setting');
Meteor.subscribe('mailServer');
@ -113,6 +114,7 @@ BlazeComponent.extendComponent({
this.accessibilitySetting.set('accessibility-setting' === targetID);
this.layoutSetting.set('layout-setting' === targetID);
this.webhookSetting.set('webhook-setting' === targetID);
this.attachmentSettings.set('attachment-settings' === targetID);
this.tableVisibilityModeSetting.set('tableVisibilityMode-setting' === targetID);
}
},