X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=18b0d78a10645439c47d226e9a7587dbfc0fdcbc;hb=dab8c377b70fc962ec217f2aeb719842f9f94cd6;hp=6d4c35ef38f0ab795cdc2a5f257fc85b9df62bdd;hpb=e42a859c7485e371e6d9d6fb80b9c057aafa3664;p=poolifier.git diff --git a/README.md b/README.md index 6d4c35ef..18b0d78a 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,6 @@ This method will call the terminate method on each worker. If `killBehavior` is set to `KillBehaviors.SOFT` your tasks have no timeout and your workers will not be terminated until your task is completed. Default: 60000 -- `async` (optional) - true/false. Set to true if your function contains async code pieces, else false. - Default: false - `killBehavior` (optional) - Dictates if your async unit (worker/process) will be deleted in case that a task is active on it. **KillBehaviors.SOFT**: If `currentTime - lastActiveTime` is greater than `maxInactiveTime` but a task is still running, then the worker **won't** be deleted. **KillBehaviors.HARD**: If `currentTime - lastActiveTime` is greater than `maxInactiveTime` but a task is still running, then the worker will be deleted.