mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
服务重启时依赖改为单独安装,避免同时失败
This commit is contained in:
parent
62fca3dfe2
commit
22bb785139
|
@ -27,7 +27,10 @@ export default async () => {
|
|||
for (const key in groups) {
|
||||
if (Object.prototype.hasOwnProperty.call(groups, key)) {
|
||||
const group = groups[key];
|
||||
dependenceService.reInstall(group.map((x) => x._id));
|
||||
const depIds = group.map((x) => x._id);
|
||||
for (const dep of depIds) {
|
||||
dependenceService.reInstall([dep]);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user