MCPcopy
hub / github.com/codeaashu/claude-code / _logSlowResolvingAsync

Method _logSlowResolvingAsync

src/server/web/public/terminal.js:2764–2769  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

2762 this._parseStack.paused = true, this._parseStack.cursorStartX = e3, this._parseStack.cursorStartY = t3, this._parseStack.decodedLength = i3, this._parseStack.position = s3;
2763 }
2764 _logSlowResolvingAsync(e3) {
2765 this._logService.logLevel <= v.LogLevelEnum.WARN && Promise.race([e3, new Promise(((e4, t3) => setTimeout((() => t3("#SLOW_TIMEOUT")), 5e3)))]).catch(((e4) => {
2766 if ("#SLOW_TIMEOUT" !== e4) throw e4;
2767 console.warn("async parser handler taking longer than 5000 ms");
2768 }));
2769 }
2770 _getCurrentLinkId() {
2771 return this._curAttrData.extended.urlId;
2772 }

Callers 1

parseMethod · 0.95

Calls 2

t3Function · 0.85
warnMethod · 0.45

Tested by

no test coverage detected