summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
committerWolfy-J <[email protected]>2018-06-10 17:18:23 +0300
commit094a4c211022b9446ef988c74c546ad6efb09722 (patch)
tree603ade627491960108154d6301868c9b881cd101 /config.go
parent232aa8f3c20a060e556ab431467f4f7b3f83bfbf (diff)
http service
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.go b/config.go
index 6813fd1e..a20f778b 100644
--- a/config.go
+++ b/config.go
@@ -11,10 +11,10 @@ type Config struct {
// might be doubled by Swapper while hot-swap.
NumWorkers uint64
- // MaxExecutions defines how many executions is allowed for the worker until
+ // MaxJobs defines how many executions is allowed for the worker until
// it's destruction. set 1 to create new process for each new task, 0 to let
// worker handle as many tasks as it can.
- MaxExecutions uint64
+ MaxJobs uint64
// AllocateTimeout defines for how long pool will be waiting for a worker to
// be freed to handle the task.