chore: generate
This commit is contained in:
@@ -159,8 +159,7 @@ export const layer = Layer.effect(
|
|||||||
{ mode: 0o600 },
|
{ mode: 0o600 },
|
||||||
)
|
)
|
||||||
yield* fs.rename(temp, file)
|
yield* fs.rename(temp, file)
|
||||||
yield* registration()
|
yield* registration().pipe(
|
||||||
.pipe(
|
|
||||||
Effect.flatMap((info) => (info.id === id ? Effect.void : signal(process.pid, "SIGTERM"))),
|
Effect.flatMap((info) => (info.id === id ? Effect.void : signal(process.pid, "SIGTERM"))),
|
||||||
Effect.catch(() => signal(process.pid, "SIGTERM")),
|
Effect.catch(() => signal(process.pid, "SIGTERM")),
|
||||||
Effect.repeat(Schedule.spaced("10 seconds")),
|
Effect.repeat(Schedule.spaced("10 seconds")),
|
||||||
|
|||||||
Reference in New Issue
Block a user