File tree Expand file tree Collapse file tree
packages/cli/src/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,13 +159,12 @@ export const layer = Layer.effect(
159159 { mode : 0o600 } ,
160160 )
161161 yield * fs . rename ( temp , file )
162- yield * registration ( )
163- . pipe (
164- Effect . flatMap ( ( info ) => ( info . id === id ? Effect . void : signal ( process . pid , "SIGTERM" ) ) ) ,
165- Effect . catch ( ( ) => signal ( process . pid , "SIGTERM" ) ) ,
166- Effect . repeat ( Schedule . spaced ( "10 seconds" ) ) ,
167- Effect . forkScoped ,
168- )
162+ yield * registration ( ) . pipe (
163+ Effect . flatMap ( ( info ) => ( info . id === id ? Effect . void : signal ( process . pid , "SIGTERM" ) ) ) ,
164+ Effect . catch ( ( ) => signal ( process . pid , "SIGTERM" ) ) ,
165+ Effect . repeat ( Schedule . spaced ( "10 seconds" ) ) ,
166+ Effect . forkScoped ,
167+ )
169168 yield * Effect . addFinalizer ( ( ) =>
170169 registration ( ) . pipe (
171170 Effect . flatMap ( ( info ) => ( info . id === id ? fs . remove ( file ) : Effect . void ) ) ,
You can’t perform that action at this time.
0 commit comments