diff options
Diffstat (limited to '.rr.yaml')
-rwxr-xr-x | .rr.yaml | 49 |
1 files changed, 30 insertions, 19 deletions
@@ -1,6 +1,5 @@ rpc: listen: tcp://127.0.0.1:6001 - disabled: false server: command: "php tests/psr-worker-bench.php" @@ -8,6 +7,7 @@ server: group: "" env: "RR_HTTP": "true" + "RR_RPC": "tcp://127.0.0.1:6001" relay: "pipes" relayTimeout: "20s" @@ -17,11 +17,11 @@ logs: http: address: 127.0.0.1:44933 - maxRequestSize: 1024 + max_request_size: 1024 middleware: ["gzip", "headers"] uploads: forbid: [".php", ".exe", ".bat"] - trustedSubnets: + trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", @@ -32,23 +32,34 @@ http: "fe80::/10", ] pool: - numWorkers: 6 - maxJobs: 0 - allocateTimeout: 60s - destroyTimeout: 60s + num_workers: 6 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s + supervisor: + # WatchTick defines how often to check the state of worker (seconds) + watch_tick: 10 + # TTL defines maximum time worker is allowed to live (seconds) + ttl: 10 + # 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) + max_worker_memory: 100 -# ssl: -# port: 8892 -# redirect: false -# cert: fixtures/server.crt -# key: fixtures/server.key -# # rootCa: root.crt -# fcgi: -# address: tcp://0.0.0.0:7921 -# http2: -# enabled: false -# h2c: false -# maxConcurrentStreams: 128 + ssl: + port: 8892 + redirect: false + cert: fixtures/server.crt + key: fixtures/server.key + # rootCa: root.crt + fcgi: + address: tcp://0.0.0.0:7921 + http2: + enabled: false + h2c: false + max_concurrent_streams: 128 redis: # UniversalClient is an abstract client which - based on the provided options - |