diff options
author | Wolfy-J <[email protected]> | 2018-06-10 17:18:23 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 17:18:23 +0300 |
commit | 094a4c211022b9446ef988c74c546ad6efb09722 (patch) | |
tree | 603ade627491960108154d6301868c9b881cd101 /config.go | |
parent | 232aa8f3c20a060e556ab431467f4f7b3f83bfbf (diff) |
http service
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |