延迟释放端口

This commit is contained in:
2026-09-17 13:42:37 +08:00
parent 2f0c6e6cb7
commit a456686551

View File

@@ -9,6 +9,7 @@ import (
m "platform/web/models"
q "platform/web/queries"
"strings"
"time"
"gorm.io/gen/field"
)
@@ -130,7 +131,12 @@ func (s *channelGostProvider) removeRemote(batchNo string, batch *usedChanBatch)
return client.DeleteAdmission(admissionName)
}))
}
if len(deleteErrs) != 0 {
return u.CombineErrors(deleteErrs)
}
time.Sleep(time.Millisecond * 200)
return nil
}
func (s *channelGostProvider) selectProxy(count int) (*m.Proxy, error) {