diff options
Diffstat (limited to 'models/migrations/v128.go')
-rw-r--r-- | models/migrations/v128.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v128.go b/models/migrations/v128.go index 9f698e3e57..7467023380 100644 --- a/models/migrations/v128.go +++ b/models/migrations/v128.go @@ -40,7 +40,7 @@ func fixMergeBase(x *xorm.Engine) error { MergedCommitID string `xorm:"VARCHAR(40)"` } - var limit = setting.Database.IterateBufferSize + limit := setting.Database.IterateBufferSize if limit <= 0 { limit = 50 } |