Skip to content

Commit bfb5fc0

Browse files
authored
fix(master): replace goroutine with direct call for instance auto-starting to ensure proper execution
1 parent eda364d commit bfb5fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/master.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ func (m *Master) loadState() {
633633

634634
// 处理自启动
635635
if instance.Restart {
636-
go m.startInstance(instance)
637636
m.logger.Info("Auto-starting instance: %v [%v]", instance.URL, instance.ID)
637+
m.startInstance(instance)
638638
}
639639
}
640640

0 commit comments

Comments
 (0)