Reduced size of batches, to not break SQLite

This commit is contained in:
Deluan
2020-01-18 01:49:08 -05:00
parent 1929aaec1a
commit ccbdf688ea
4 changed files with 37 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ group by album_id order by f.id`, strings.Join(ids, "','"))
}
}
if len(toInsert) > 0 {
n, err := o.InsertMulti(100, toInsert)
n, err := o.InsertMulti(10, toInsert)
if err != nil {
return err
}