Skip to content

Commit 5e50580

Browse files
fix: Smaller issues (#67)
1 parent ecce4d4 commit 5e50580

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Pull Request CI check
22

33
on:
44
workflow_dispatch:
5-
pull_request:
6-
branches:
7-
- main
5+
# pull_request:
6+
# branches:
7+
# - main
88
pull_request_target:
99
branches:
1010
- main

src/nodeEsBuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ async function build(input: {
153153
let ctx = input.oldCtx;
154154

155155
Logger.verbose(
156-
`[Function ${input.functionId}] Module type: ${isESM ? 'ESM' : 'CJS'})`,
156+
`[Function ${input.functionId}] Module type: ${isESM ? 'ESM' : 'CJS'}`,
157157
);
158158

159159
if (!ctx) {

src/nodeWorker.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,6 @@ async function stopAllWorkers() {
159159
for (const worker of workers.values()) {
160160
if (worker.used) {
161161
worker.toKill = true;
162-
// set timout for 5 minutes and kill the worker if it is still running
163-
setTimeout(() => {
164-
if (worker.toKill) {
165-
worker.toKill = false;
166-
void worker.terminate();
167-
}
168-
}, 300000);
169162
} else {
170163
promises.push(worker.terminate());
171164
}

0 commit comments

Comments
 (0)