summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.go b/config.go
index 649ad9f4..1a1d0a0a 100644
--- a/config.go
+++ b/config.go
@@ -8,6 +8,9 @@ import (
// Config defines basic behaviour of worker creation and handling process.
type Config struct {
+ // Error code for pool errors in the http handler (default 500)
+ PoolErrorCode uint64
+
// NumWorkers defines how many sub-processes can be run at once. This value
// might be doubled by Swapper while hot-swap.
NumWorkers int64