Skip to content

Commit

Permalink
perf: 优化终端连接资产退出延迟
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Feb 26, 2024
1 parent 26563ce commit 914e22c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/handler/select_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"sort"
"strconv"
"strings"
"time"

"github.com/jumpserver/koko/pkg/i18n"
"github.com/jumpserver/koko/pkg/jms-sdk-go/model"
Expand Down Expand Up @@ -218,8 +217,6 @@ func (u *UserSelectHandler) DisplayCurrentResult() {

func (u *UserSelectHandler) Proxy(target model.PermAsset) {
u.proxyAsset(target)
time.Sleep(time.Second * 2)
u.DisplayCurrentResult()
}

func (u *UserSelectHandler) Retrieve(pageSize, offset int, searches ...string) []model.PermAsset {
Expand Down

0 comments on commit 914e22c

Please sign in to comment.