mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Perf: many changes
- Hoist process hosts line callback - Reduce dp hosts file size - Reduce domain sort
This commit is contained in:
@@ -232,7 +232,7 @@ export const buildSpeedtestDomainSet = task(import.meta.path, async (span) => {
|
||||
});
|
||||
|
||||
resolve();
|
||||
}, 1000 * 60 * 2);
|
||||
}, 1000 * 60 * 1.5);
|
||||
|
||||
Promise.all(Object.values(pMap)).then(() => {
|
||||
clearTimeout(timer);
|
||||
|
||||
Reference in New Issue
Block a user