diff --git a/models/repo.go b/models/repo.go index 329e63cc421b..f2fc13431235 100644 --- a/models/repo.go +++ b/models/repo.go @@ -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 }