diff options
author | Valery Piashchynski <[email protected]> | 2023-05-02 16:06:05 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-02 16:06:05 +0200 |
commit | e9487fab04dc983f8501f12866f31416e11e74ec (patch) | |
tree | 06f85e2806fa6a75663dc39206ba7d249b002f32 /.rr.yaml | |
parent | 7c957699ad087ca65cd7a207ca9d502549e6dbbe (diff) |
Update .rr.yaml
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 66 |
1 files changed, 66 insertions, 0 deletions
@@ -2025,6 +2025,72 @@ centrifuge: # # Optional, default: roadrunner name: "roadrunner" + + # Workers pool settings. + pool: + # 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 + + # Supervisor is used to control http workers (previous name was "limit", video: https://www.youtube.com/watch?v=NdrlZhyFqyQ). + # "Soft" limits will not interrupt current request processing. "Hard" + # limit on the contrary - interrupts the execution of the request. + supervisor: + # How often to check the state of the workers. + # + # Default: 1s + watch_tick: 1s + + # Maximum time worker is allowed to live (soft limit). Zero means no limit. + # + # Default: 0s + ttl: 0s + + # How long worker can spend in IDLE mode after first using (soft limit). Zero means no limit. + # + # Default: 0s + idle_ttl: 10s + + # Maximal worker memory usage in megabytes (soft limit). Zero means no limit. + # + # Default: 0 + max_worker_memory: 128 + + # Maximal job lifetime (hard limit). Zero means no limit. + # + # Default: 0s + exec_ttl: 60s # TLS configuration # |