Maintain comment
This commit is contained in:
parent
c2f4176a74
commit
0889c70acc
@ -1092,6 +1092,7 @@ function doAddAllMods() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modsAll = Array.from(modsAll);
|
modsAll = Array.from(modsAll);
|
||||||
|
// Batch to avoid PayloadTooLargeError
|
||||||
const batches = [];
|
const batches = [];
|
||||||
for (let i = 0; i < modsAll.length; i += 1000) {
|
for (let i = 0; i < modsAll.length; i += 1000) {
|
||||||
batches.push(modsAll.slice(i, i + 1000));
|
batches.push(modsAll.slice(i, i + 1000));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user