mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	上传访问日志发生网络错误时不提交
This commit is contained in:
		@@ -43,7 +43,11 @@ func (this *HTTPAccessLogQueue) Start() {
 | 
				
			|||||||
	for range ticker.C {
 | 
						for range ticker.C {
 | 
				
			||||||
		err := this.loop()
 | 
							err := this.loop()
 | 
				
			||||||
		if err != nil {
 | 
							if err != nil {
 | 
				
			||||||
			remotelogs.Error("ACCESS_LOG_QUEUE", err.Error())
 | 
								if rpc.IsConnError(err) {
 | 
				
			||||||
 | 
									remotelogs.Debug("ACCESS_LOG_QUEUE", err.Error())
 | 
				
			||||||
 | 
								} else {
 | 
				
			||||||
 | 
									remotelogs.Error("ACCESS_LOG_QUEUE", err.Error())
 | 
				
			||||||
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user