Skip to content

Commit

Permalink
Update utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Dec 19, 2024
1 parent 6074d37 commit 8009f6b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/typescript-plugin/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,6 @@ class NamedPipeServer {
this.requestHandlers.delete(seq);
resolve(data);
});
// setTimeout(() => {
// if (this.requestHandlers.has(seq)) {
// console.error(`[${seq}] ${requestType} ${fileName} timeout`);
// this.requestHandlers.delete(seq);
// resolve(undefined);
// }
// }, 5000);
this.socket!.write(JSON.stringify([seq, requestType, fileName, ...args] satisfies RequestData) + '\n\n');
});
}
Expand Down

0 comments on commit 8009f6b

Please sign in to comment.