mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 21:16:26 +01:00 
			
		
		
		
	Backport #15637 fix #15634 Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
		
							parent
							
								
									4190c134e6
								
							
						
					
					
						commit
						875501584b
					
				@ -749,7 +749,7 @@ func (repo *Repository) updateSize(e Engine) error {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	repo.Size = size
 | 
			
		||||
	_, err = e.ID(repo.ID).Cols("size").Update(repo)
 | 
			
		||||
	_, err = e.ID(repo.ID).Cols("size").NoAutoTime().Update(repo)
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user