mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-09 00:20:26 +08:00
优化代码
This commit is contained in:
@@ -43,6 +43,9 @@ func (this *RestartLocalAPINodeAction) RunPost(params struct {
|
||||
}
|
||||
}
|
||||
|
||||
// 停止1秒等待命令运行完毕
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
// 检查是否已启动
|
||||
var countTries = 120
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user