summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool.go')
-rwxr-xr-xpool.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pool.go b/pool.go
index 721b67c1..a95b8cfb 100755
--- a/pool.go
+++ b/pool.go
@@ -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