mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	增加服务带宽统计
This commit is contained in:
		@@ -691,7 +691,6 @@ func (this *MetricStatDAO) Clean(tx *dbs.Tx) error {
 | 
			
		||||
						Table(table).
 | 
			
		||||
						Attr("itemId", item.Id).
 | 
			
		||||
						Lte("createdDay", expiresDay).
 | 
			
		||||
						UseIndex("createdDay").
 | 
			
		||||
						Limit(10_000). // 一次性不要删除太多,防止阻塞其他操作
 | 
			
		||||
						Delete()
 | 
			
		||||
					return err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user