优化证书加载速度

This commit is contained in:
刘祥超
2022-12-31 17:21:48 +08:00
parent d30ebdb369
commit 91ece99a9c
2 changed files with 6 additions and 4 deletions

View File

@@ -55,10 +55,11 @@ func (this *IndexAction) RunGet(params struct {
// 服务列表 // 服务列表
serversResp, err := this.RPC().ServerRPC().ListEnabledServersMatch(this.AdminContext(), &pb.ListEnabledServersMatchRequest{ serversResp, err := this.RPC().ServerRPC().ListEnabledServersMatch(this.AdminContext(), &pb.ListEnabledServersMatchRequest{
Offset: page.Offset, Offset: page.Offset,
Size: page.Size, Size: page.Size,
ServerGroupId: params.GroupId, ServerGroupId: params.GroupId,
Keyword: params.Keyword, Keyword: params.Keyword,
IgnoreSSLCerts: true,
}) })
if err != nil { if err != nil {
this.ErrorPage(err) this.ErrorPage(err)

View File

@@ -99,6 +99,7 @@ func (this *IndexAction) RunGet(params struct {
TrafficOutAsc: params.TrafficOutOrder == "asc", TrafficOutAsc: params.TrafficOutOrder == "asc",
UserId: params.UserId, UserId: params.UserId,
IgnoreServerNames: true, IgnoreServerNames: true,
IgnoreSSLCerts: true,
}) })
if err != nil { if err != nil {
this.ErrorPage(err) this.ErrorPage(err)