mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Finish fs cache changes / tracer optimization
This commit is contained in:
@@ -37,7 +37,7 @@ export const buildAntiBogusDomain = task(import.meta.path, async (span) => {
|
||||
|
||||
const peeked = Bun.peek(getBogusNxDomainIPsPromise);
|
||||
const bogusNxDomainIPs = peeked === getBogusNxDomainIPsPromise
|
||||
? await span.traceChild('get bogus nxdomain ips').traceAsyncFn(() => getBogusNxDomainIPsPromise)
|
||||
? await span.traceChildPromise('get bogus nxdomain ips', getBogusNxDomainIPsPromise)
|
||||
: (peeked as string[]);
|
||||
|
||||
result.push(...bogusNxDomainIPs);
|
||||
|
||||
Reference in New Issue
Block a user