mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	优化证书加载速度
This commit is contained in:
		@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user