summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-03 17:31:17 +0300
committerValery Piashchynski <[email protected]>2021-02-03 17:31:17 +0300
commit8eda5dc6f0f7e05d7b3d62e1861af05b49a2574a (patch)
treefae66ad49d2a4624a7caf45a5bf07d53e5c7d26f /.rr.yaml
parent20a1a5d2eb26090e0eef0e6772330ee2a52526fa (diff)
Fix memory leak in the Worker.go
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x.rr.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 1c1a0af2..4cdc4326 100755
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -61,9 +61,13 @@ http:
"output": "output-header"
pool:
+ # default - num of logical CPUs
num_workers: 6
+ # default 0
max_jobs: 0
+ # default 1 minute
allocate_timeout: 60s
+ # default 1 minute
destroy_timeout: 60s
supervisor:
# watch_tick defines how often to check the state of the workers (seconds)