mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 09:10:35 +08:00
Perf: parallize GC & build public
This commit is contained in:
parent
9299bc6838
commit
2eacf32180
@ -114,9 +114,10 @@ process.on('unhandledRejection', (reason) => {
|
|||||||
downloadMockAssetsPromise
|
downloadMockAssetsPromise
|
||||||
]);
|
]);
|
||||||
|
|
||||||
await buildDeprecateFiles(rootSpan);
|
await Promise.all([
|
||||||
await buildPublic(rootSpan);
|
buildDeprecateFiles(rootSpan).then(() => buildPublic(rootSpan)),
|
||||||
await cacheGc(rootSpan);
|
cacheGc(rootSpan)
|
||||||
|
]);
|
||||||
|
|
||||||
rootSpan.stop();
|
rootSpan.stop();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user