mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
服务重启时依赖改为单独安装,避免同时失败
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user