X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=cb7a1ad994933295e35a53dbdeca21a8bf2e387a;hb=2c039e4373e86714cdf27e77440b12ee8eb2e4db;hp=140663c502d04d82d58578845595ba219f693b29;hpb=91633990eef05b1452e01bc91e963483c235854e;p=poolifier.git diff --git a/README.md b/README.md index 140663c5..cb7a1ad9 100644 --- a/README.md +++ b/README.md @@ -242,8 +242,8 @@ This method will call the terminate method on each worker. Default: `60000` - `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 executing, then the worker **won't** be deleted. - **KillBehaviors.HARD**: If `currentTime - lastActiveTime` is greater than `maxInactiveTime` but a task is still executing, then the worker will be deleted. + **KillBehaviors.SOFT**: If `currentTime - lastActiveTime` is greater than `maxInactiveTime` but a task is still executing or queued, then the worker **won't** be deleted. + **KillBehaviors.HARD**: If `currentTime - lastActiveTime` is greater than `maxInactiveTime` but a task is still executing or queued, then the worker will be deleted. This option only apply to the newly created workers. Default: `KillBehaviors.SOFT` @@ -293,8 +293,6 @@ See [CONTRIBUTING](CONTRIBUTING.md) guidelines. ## Team - - **Creator/Owner:** - [**Alessandro Pio Ardizio**](https://github.com/pioardi)