mirror of https://github.com/halo-dev/halo-admin
perf: mute the start plugin request in setup page
parent
edf51fbcfa
commit
ee20b3c50a
|
@ -44,10 +44,15 @@ const { mutate: pluginStartMutate } = useMutation({
|
||||||
|
|
||||||
pluginToUpdate.spec.enabled = true;
|
pluginToUpdate.spec.enabled = true;
|
||||||
|
|
||||||
return apiClient.extension.plugin.updatepluginHaloRunV1alpha1Plugin({
|
return apiClient.extension.plugin.updatepluginHaloRunV1alpha1Plugin(
|
||||||
name: plugin.metadata.name,
|
{
|
||||||
plugin: pluginToUpdate,
|
name: plugin.metadata.name,
|
||||||
});
|
plugin: pluginToUpdate,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
mute: true,
|
||||||
|
}
|
||||||
|
);
|
||||||
},
|
},
|
||||||
retry: 3,
|
retry: 3,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue