X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=2035235022d13f49cb39c98e3ea10b91cf7ca8ec;hb=48487131ad37630e3021c3e4feee1b311d8bcd11;hp=980c00896a0ebf23f75162605cccf52548cc535f;hpb=658b9aa08266ed9a8ae3c0fc947d237fa2674f09;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index 980c0089..20352350 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -68,7 +68,7 @@ export interface MessageValue /** * Kill code. */ - readonly kill?: KillBehavior | 1 + readonly kill?: KillBehavior | true /** * Task error. */ @@ -86,9 +86,9 @@ export interface MessageValue */ readonly started?: boolean /** - * Whether the worker is dynamic or not. + * Whether the worker starts or stops its aliveness check. */ - readonly dynamic?: boolean + readonly checkAlive?: boolean } /**