We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc30ac5 commit 2d3f25dCopy full SHA for 2d3f25d
1 file changed
apps/server/src/terminal/Layers/Manager.ts
@@ -613,6 +613,12 @@ export const makeTerminalManagerWithOptions = Effect.fn("makeTerminalManagerWith
613
return cached.isWeb;
614
}
615
616
+ for (const [p, entry] of webPortProbeCache) {
617
+ if (now - entry.checkedAt > webPortProbeCacheTtlMs) {
618
+ webPortProbeCache.delete(p);
619
+ }
620
621
+
622
const isWeb = yield* webPortInspector(port).pipe(Effect.catch(() => Effect.succeed(false)));
623
webPortProbeCache.set(port, {
624
isWeb,
0 commit comments