diff options
author | Valery Piashchynski <[email protected]> | 2020-10-27 15:58:46 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-10-27 15:58:46 +0300 |
commit | c9af916ae4d78334d348ed1ef7238206f3ecb7a1 (patch) | |
tree | 43c04f7c538ecbd0b29fc280d41df5d00f203436 /pool.go | |
parent | fd60aff1cddf32b0c45d934fcf14b070df80adcf (diff) | |
parent | 105bde0e0c1a7c133d1daa10603ca5ce9a9ade4d (diff) |
Merge remote-tracking branch 'origin/release_2.0' into feature/pool_supervisor
# Conflicts:
# static_pool.go
# sync_worker.go
Diffstat (limited to 'pool.go')
-rwxr-xr-x | pool.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ type Pool interface { // Configures the pool behaviour. type Config struct { + // Debug flag creates new fresh worker before every request. + Debug bool + // NumWorkers defines how many sub-processes can be run at once. This value // might be doubled by Swapper while hot-swap. Defaults to number of CPU cores. NumWorkers int64 |