summaryrefslogtreecommitdiffstats
path: root/models/migrations/v22.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v22.go')
-rw-r--r--models/migrations/v22.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v22.go b/models/migrations/v22.go
index 17709496e1..7774f6fd9a 100644
--- a/models/migrations/v22.go
+++ b/models/migrations/v22.go
@@ -42,7 +42,7 @@ func generateAndMigrateWikiGitHooks(x *xorm.Engine) (err error) {
}
)
- return x.Where("id > 0").Iterate(new(Repository),
+ return x.Where("id > 0").BufferSize(setting.IterateBufferSize).Iterate(new(Repository),
func(idx int, bean interface{}) error {
repo := bean.(*Repository)
user := new(User)