File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Pull Request CI check
2
2
3
3
on :
4
4
workflow_dispatch :
5
- pull_request :
6
- branches :
7
- - main
5
+ # pull_request:
6
+ # branches:
7
+ # - main
8
8
pull_request_target :
9
9
branches :
10
10
- main
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ async function build(input: {
153
153
let ctx = input . oldCtx ;
154
154
155
155
Logger . verbose (
156
- `[Function ${ input . functionId } ] Module type: ${ isESM ? 'ESM' : 'CJS' } ) ` ,
156
+ `[Function ${ input . functionId } ] Module type: ${ isESM ? 'ESM' : 'CJS' } ` ,
157
157
) ;
158
158
159
159
if ( ! ctx ) {
Original file line number Diff line number Diff line change @@ -159,13 +159,6 @@ async function stopAllWorkers() {
159
159
for ( const worker of workers . values ( ) ) {
160
160
if ( worker . used ) {
161
161
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 ) ;
169
162
} else {
170
163
promises . push ( worker . terminate ( ) ) ;
171
164
}
You can’t perform that action at this time.
0 commit comments