优化证书数量很多时的页面加载速度

This commit is contained in:
刘祥超
2022-12-31 17:12:49 +08:00
parent ade8522b69
commit d30ebdb369
5 changed files with 24 additions and 9 deletions

View File

@@ -57,7 +57,10 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
return
}
serverResp, err := rpcClient.ServerRPC().FindEnabledServer(rpcClient.Context(action.Context.GetInt64("adminId")), &pb.FindEnabledServerRequest{ServerId: serverId})
serverResp, err := rpcClient.ServerRPC().FindEnabledServer(rpcClient.Context(action.Context.GetInt64("adminId")), &pb.FindEnabledServerRequest{
ServerId: serverId,
IgnoreSSLCertData: true,
})
if err != nil {
logs.Error(err)
return