mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-02 20:11:54 +08:00
Finish fs cache changes / tracer optimization
This commit is contained in:
@@ -56,7 +56,7 @@ export const buildMicrosoftCdn = task(import.meta.path, async (span) => {
|
||||
const promise = getMicrosoftCdnRulesetPromise();
|
||||
const peeked = Bun.peek(promise);
|
||||
const res: string[] = peeked === promise
|
||||
? await span.traceChild('get microsoft cdn domains').tracePromise(promise)
|
||||
? await span.traceChildPromise('get microsoft cdn domains', promise)
|
||||
: (peeked as string[]);
|
||||
|
||||
return createRuleset(
|
||||
|
||||
Reference in New Issue
Block a user