Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

perf: mute the start plugin request in setup page #897

Merged
merged 1 commit into from
Mar 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/views/system/Setup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@ const { mutate: pluginStartMutate } = useMutation({

pluginToUpdate.spec.enabled = true;

return apiClient.extension.plugin.updatepluginHaloRunV1alpha1Plugin({
name: plugin.metadata.name,
plugin: pluginToUpdate,
});
return apiClient.extension.plugin.updatepluginHaloRunV1alpha1Plugin(
{
name: plugin.metadata.name,
plugin: pluginToUpdate,
},
{
mute: true,
}
);
},
retry: 3,
});
Expand Down