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:
@@ -21,7 +21,7 @@ export const buildAppleCdn = task(import.meta.path, async (span) => {
|
||||
const promise = getAppleCdnDomainsPromise();
|
||||
const peeked = Bun.peek(promise);
|
||||
const res: string[] = peeked === promise
|
||||
? await span.traceChild('get apple cdn domains').traceAsyncFn(() => promise)
|
||||
? await span.traceChildPromise('get apple cdn domains', promise)
|
||||
: (peeked as string[]);
|
||||
|
||||
const description = [
|
||||
|
||||
Reference in New Issue
Block a user