summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-09 20:14:44 +0300
committerGitHub <[email protected]>2021-03-09 20:14:44 +0300
commite85008b94ac728e8e6e415fb6fb9d5d579db5c1a (patch)
tree4d7b453a5855bb9e2b8e3295fadacb2147ba4fec /.rr.yaml
parentfc37174e33674fdc4afec0263f34fc4619de203c (diff)
parent0a355178427814cbf91726d8295d2aa208e8de13 (diff)
Merge branch 'master' into release-v2.0.1
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x.rr.yaml21
1 files changed, 18 insertions, 3 deletions
diff --git a/.rr.yaml b/.rr.yaml
index fa69fce6..1b40d526 100755
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -45,11 +45,26 @@ logs:
# Workflow and activity mesh service
temporal:
- address: localhost:7233
activities:
num_workers: 4
- codec: proto
- debug_level: 2
+ # default 0 - no limit
+ max_jobs: 0
+ # default 1 minute
+ allocate_timeout: 60s
+ # default 1 minute
+ destroy_timeout: 60s
+ # supervisor used to control http workers
+ supervisor:
+ # watch_tick defines how often to check the state of the workers (seconds)
+ watch_tick: 1s
+ # ttl defines maximum time worker is allowed to live (seconds)
+ ttl: 0
+ # idle_ttl defines maximum duration worker can spend in idle mode after first use. Disabled when 0 (seconds)
+ idle_ttl: 0
+ # exec_ttl defines maximum lifetime per job (seconds)
+ exec_ttl: 0
+ # max_worker_memory limits memory usage per worker (MB)
+ max_worker_memory: 100
http:
# host and port separated by semicolon