mirror of
https://github.com/SukkaW/Surge.git
synced 2026-09-12 18:44:36 +08:00
Perf: worker farm
This commit is contained in:
13
Build/lib/build.worker.ts
Normal file
13
Build/lib/build.worker.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* The single worker module behind the build's shared thread farm. Every job that
|
||||
* runs off the main thread is exported from here; each is implemented in its own
|
||||
* module, this file is only the surface jest-worker loads.
|
||||
*
|
||||
* jest-worker runs one call at a time per thread, so the farm size is chosen for
|
||||
* the phase with the most concurrent calls (see build-worker-farm.ts).
|
||||
*/
|
||||
export { writeOutput } from './rules/output.worker';
|
||||
export { getPhishingDomains } from './get-phishing-domains';
|
||||
export { getRejectSources } from './get-reject-sources';
|
||||
export { buildMicrosoftCdn } from '../build-microsoft-cdn';
|
||||
export { buildCdnDownloadConf } from '../build-cdn-download-conf';
|
||||
Reference in New Issue
Block a user