perf(storage): raise historical migration concurrency
This commit is contained in:
parent
9d14e71fc1
commit
fee4e056ac
@ -225,7 +225,10 @@ async function main() {
|
|||||||
|
|
||||||
const targetStorageId = readArg("target-storage-id");
|
const targetStorageId = readArg("target-storage-id");
|
||||||
const manifestPath = readArg("manifest");
|
const manifestPath = readArg("manifest");
|
||||||
const concurrency = Math.max(1, Math.min(8, Number(readArg("concurrency", "4")) || 4));
|
const concurrency = Math.max(
|
||||||
|
1,
|
||||||
|
Math.min(24, Number(readArg("concurrency", "4")) || 4)
|
||||||
|
);
|
||||||
const limit = Math.max(0, Number(readArg("limit", "0")) || 0);
|
const limit = Math.max(0, Number(readArg("limit", "0")) || 0);
|
||||||
const execute = hasFlag("execute");
|
const execute = hasFlag("execute");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user