mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-04 04:42:32 +08:00
Perf: improve reject set dedupe performance
This commit is contained in:
@@ -150,7 +150,7 @@ const threads = require('os').cpus().length - 1;
|
||||
|
||||
const piscina = new Piscina({
|
||||
filename: pathResolve(__dirname, 'worker/build-reject-domainset-worker.js'),
|
||||
workerData: domainSets
|
||||
workerData: [...domainSets]
|
||||
});
|
||||
|
||||
(await Promise.all([
|
||||
|
||||
Reference in New Issue
Block a user