diff options
author | Valery Piashchynski <[email protected]> | 2022-11-25 11:25:15 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-11-25 11:25:15 +0100 |
commit | 823078cfc024c004497f74950507c20ba36ce4aa (patch) | |
tree | c0489be28a34e0fe3df635672f837886ea3c0af0 /.rr.yaml | |
parent | 33bebe596b6c920634ec9386d818b912939de94b (diff) |
chore: update .rr.yaml, use proper procs number when running in docker
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 122 |
1 files changed, 112 insertions, 10 deletions
@@ -279,6 +279,8 @@ temporal: server_name: "tls-sample" # Activities pool settings. + # + # Equal to the regular pool options activities: # Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived. # @@ -300,12 +302,17 @@ temporal: # Default: 0 max_jobs: 0 - # Timeout for worker allocation. Zero means no limit. + # Timeout for worker allocation. Zero means 60s. # # Default: 60s allocate_timeout: 60s - # Timeout for worker destroying before process killing. Zero means no limit. + # Timeout for the reset timeout. Zero means 60s. + # + # Default: 60s + reset_timeout: 60s + + # Timeout for worker destroying before process killing. Zero means 60s. # # Default: 60s destroy_timeout: 60s @@ -341,6 +348,7 @@ temporal: # KV plugin settings. Available drivers: boltdb, redis, memcached, memory. +# # Any number of sections can be defined here. kv: # User defined name of the section @@ -351,6 +359,7 @@ kv: # # This option is required. driver: boltdb + # Local configuration section # # This option is required to use local section, otherwise (boltdb-south) global configuration will be used. @@ -841,12 +850,17 @@ http: # Default: 0 max_jobs: 0 - # Timeout for worker allocation. Zero means no limit. + # Timeout for worker allocation. Zero means 60s. # # Default: 60s allocate_timeout: 60s - # Timeout for worker destroying before process killing. Zero means no limit. + # Timeout for the reset timeout. Zero means 60s. + # + # Default: 60s + reset_timeout: 60s + + # Timeout for worker destroying before process killing. Zero means 60s. # # Default: 60s destroy_timeout: 60s @@ -1167,10 +1181,39 @@ jobs: # worker pool configuration pool: - command: "" - num_workers: 10 + # Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived. + # + # Default: false + debug: false + + # Override server's command + # + # Default: empty + command: "php my-super-app.php" + + # How many worker processes will be started. Zero (or nothing) means the number of logical CPUs. + # + # Default: 0 + num_workers: 0 + + # Maximal count of worker executions. Zero (or nothing) means no limit. + # + # Default: 0 max_jobs: 0 + + # Timeout for worker allocation. Zero means 60s. + # + # Default: 60s allocate_timeout: 60s + + # Timeout for the reset timeout. Zero means 60s. + # + # Default: 60s + reset_timeout: 60s + + # Timeout for worker destroying before process killing. Zero means 60s. + # + # Default: 60s destroy_timeout: 60s # List of broker pipelines associated with the drivers. @@ -1733,10 +1776,40 @@ grpc: # Usual workers pool configuration pool: - num_workers: 2 + # Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived. + # + # Default: false + debug: false + + # Override server's command + # + # Default: empty + command: "php my-super-app.php" + + # How many worker processes will be started. Zero (or nothing) means the number of logical CPUs. + # + # Default: 0 + num_workers: 0 + + # Maximal count of worker executions. Zero (or nothing) means no limit. + # + # Default: 0 max_jobs: 0 + + # Timeout for worker allocation. Zero means 60s. + # + # Default: 60s allocate_timeout: 60s - destroy_timeout: 60 + + # Timeout for the reset timeout. Zero means 60s. + # + # Default: 60s + reset_timeout: 60s + + # Timeout for worker destroying before process killing. Zero means 60s. + # + # Default: 60s + destroy_timeout: 60s # [SINCE 2.6] TCP plugin tcp: @@ -1771,10 +1844,39 @@ tcp: read_buf_size: 1 pool: - command: "" - num_workers: 5 + # Debug mode for the pool. In this mode, pool will not pre-allocate the worker. Worker (only 1, num_workers ignored) will be allocated right after the request arrived. + # + # Default: false + debug: false + + # Override server's command + # + # Default: empty + command: "php my-super-app.php" + + # How many worker processes will be started. Zero (or nothing) means the number of logical CPUs. + # + # Default: 0 + num_workers: 0 + + # Maximal count of worker executions. Zero (or nothing) means no limit. + # + # Default: 0 max_jobs: 0 + + # Timeout for worker allocation. Zero means 60s. + # + # Default: 60s allocate_timeout: 60s + + # Timeout for the reset timeout. Zero means 60s. + # + # Default: 60s + reset_timeout: 60s + + # Timeout for worker destroying before process killing. Zero means 60s. + # + # Default: 60s destroy_timeout: 60s # [SINCE 2.6] Fileserver to serve static files. |