summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-25 14:50:21 +0300
committerValery Piashchynski <[email protected]>2021-01-25 14:50:21 +0300
commitbb9e34db0f96295c5c2104262f43a3ab0edbc060 (patch)
treea9b0b99a36b796fdeaac130c9330de10aa4d5c0e /.rr.yaml
parent709f7223fca5e60793ad9b3192f92a554854d6ee (diff)
Add new Supervisor test in the http plugin
Uniform supervisor config keys to use same notation as pool (10s, 10h not just 10)
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x.rr.yaml21
1 files changed, 10 insertions, 11 deletions
diff --git a/.rr.yaml b/.rr.yaml
index 600f0255..06e452ce 100755
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -9,7 +9,7 @@ server:
"RR_HTTP": "true"
"RR_RPC": "tcp://127.0.0.1:6001"
relay: "pipes"
- relay_timeout: "20s"
+ relay_timeout: 20s
logs:
mode: development
@@ -44,7 +44,6 @@ http:
input: "custom-header"
response:
output: "output-header"
-
static:
dir: "tests"
forbid: [ "" ]
@@ -59,15 +58,15 @@ http:
allocate_timeout: 60s
destroy_timeout: 60s
supervisor:
- # WatchTick defines how often to check the state of worker (seconds)
- watch_tick: 1
- # TTL defines maximum time worker is allowed to live (seconds)
+ # 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
- # IdleTTL defines maximum duration worker can spend in idle mode. Disabled when 0 (seconds)
- idle_ttl: 10
- # ExecTTL defines maximum lifetime per job (seconds)
- exec_ttl: 10
- # MaxWorkerMemory limits memory per worker (MB)
+ # idle_ttl defines maximum duration worker can spend in idle mode after first use. Disabled when 0 (seconds)
+ idle_ttl: 10s
+ # exec_ttl defines maximum lifetime per job (seconds)
+ exec_ttl: 10s
+ # max_worker_memory limits memory usage per worker (MB)
max_worker_memory: 100
ssl:
@@ -76,7 +75,7 @@ http:
redirect: false
cert: fixtures/server.crt
key: fixtures/server.key
- rootCa: root.crt
+ root_ca: root.crt
fcgi:
address: tcp://0.0.0.0:7921
http2: