mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Update Rules
This commit is contained in:
@@ -245,7 +245,7 @@ async function processFilterRules(filterRulesUrl) {
|
||||
(await Promise.all(
|
||||
Array.from(domainSets).reduce((result, element, index) => {
|
||||
const chunk = index % threads;
|
||||
result[chunk] = result[chunk] ?? [];
|
||||
result[chunk] ??= [];
|
||||
|
||||
result[chunk].push(element);
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user