mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-19 18:34:27 +00:00
deploy: 00098c9ecc6a011316e2d003c77272821472a10d
This commit is contained in:
@@ -7,6 +7,8 @@ const { isCI } = require('ci-info');
|
||||
const threads = isCI ? cpuCount : cpuCount / 2;
|
||||
|
||||
(async () => {
|
||||
console.time('Total time');
|
||||
|
||||
/** @type Set<string> */
|
||||
const domainSets = new Set();
|
||||
|
||||
@@ -265,6 +267,8 @@ const threads = isCI ? cpuCount : cpuCount / 2;
|
||||
console.timeEnd(`* Dedupe from covered subdomain`);
|
||||
console.log(`Deduped ${previousSize - domainSets.size} rules!`);
|
||||
|
||||
console.timeEnd('Total time');
|
||||
|
||||
return fsPromises.writeFile(
|
||||
pathResolve(__dirname, '../List/domainset/reject.conf'),
|
||||
`${[...domainSets].join('\n')}\n`,
|
||||
|
||||
Reference in New Issue
Block a user