mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Feat: implement parallel fetch w/ HTTP 304 (#43)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import process from 'node:process';
|
||||
import os from 'node:os';
|
||||
import wtf from 'wtfnode';
|
||||
|
||||
import { downloadPreviousBuild } from './download-previous-build';
|
||||
import { buildCommon } from './build-common';
|
||||
@@ -121,6 +122,7 @@ process.on('unhandledRejection', (reason) => {
|
||||
printTraceResult(rootSpan.traceResult);
|
||||
|
||||
// Finish the build to avoid leaking timer/fetch ref
|
||||
wtf.dump();
|
||||
process.exit(0);
|
||||
} catch (e) {
|
||||
console.trace(e);
|
||||
|
||||
Reference in New Issue
Block a user