Skip to content

Commit

Permalink
test: tmp sleep 60s in vtap api
Browse files Browse the repository at this point in the history
  • Loading branch information
SongZhen0704 committed Sep 9, 2024
1 parent 0e85e79 commit ccfc171
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/controller/http/service/vtap.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"sort"
"strconv"
"strings"
"time"

mapset "github.com/deckarep/golang-set"
"github.com/google/uuid"
Expand Down Expand Up @@ -66,6 +67,8 @@ func (a *Agent) Get(filter map[string]interface{}) (resp []model.Vtap, err error
var azs []mysql.AZ
var vtapRepos []mysql.VTapRepo

time.Sleep(1 * time.Second)

userInfo := a.resourceAccess.UserInfo
dbInfo, err := mysql.GetDB(userInfo.ORGID)
if err != nil {
Expand Down

0 comments on commit ccfc171

Please sign in to comment.