diff options
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 34 |
1 files changed, 19 insertions, 15 deletions
@@ -24,7 +24,7 @@ rpc: # Application server settings (docs: https://roadrunner.dev/docs/php-worker) server: - #[SINCE 2.6] + # Execute command before the main server's command. on_init: # Command to execute before the main server's command # @@ -36,12 +36,16 @@ server: # Default: 60s [60m, 60h], if used w/o units its means - NANOSECONDS. exec_timeout: 20s + # Exit on init error + # Default: false + exit_on_error: false + # Environment variables for the worker processes. # # Default: <empty map> env: - SOME_KEY: "SOME_VALUE" - SOME_KEY2: "SOME_VALUE2" + - SOME_KEY: "SOME_VALUE" + - SOME_KEY2: "SOME_VALUE2" # Username (not UID) of the user from whom the on_init command is executed. An empty value means to use the RR process user. # @@ -67,8 +71,8 @@ server: # # Default: <empty map> env: - SOME_KEY: "SOME_VALUE" - SOME_KEY2: "SOME_VALUE2" + - SOME_KEY: "SOME_VALUE" + - SOME_KEY2: "SOME_VALUE2" # Worker relay can be: "pipes", TCP (eg.: tcp://127.0.0.1:6002), or socket (eg.: unix:///var/run/rr.sock). # @@ -103,12 +107,12 @@ logs: # Output can be file (eg.: "/var/log/rr_errors.log"), "stderr" or "stdout". # # Default: "stderr" - output: [ stderr ] + output: "stderr" # Errors only output can be file (eg.: "/var/log/rr_errors.log"), "stderr" or "stdout". # # Default: "stderr" - err_output: [ stderr ] + err_output: "stderr" # File logger options # @@ -149,20 +153,20 @@ logs: mode: development level: panic encoding: console - output: [ stdout ] - err_output: [ stderr ] + output: "stdout" + err_output: "stderr" server: mode: production level: info encoding: json - output: [ stdout ] - err_output: [ stdout ] + output: "stdout" + err_output: "stdout" rpc: mode: raw level: debug encoding: console - output: [ stderr ] - err_output: [ stdout ] + output: "stderr" + err_output: "stdout" # Workflow and activity mesh service. # @@ -968,8 +972,8 @@ metrics: labels: [ "type" ] # Objectives defines the quantile rank estimates with their respective absolute error (for summary only). objectives: - 0.1: 2.3 - 1.0: 1.4 + - 0.1: 2.3 + - 1.0: 1.4 app_metric_histogram: type: histogram help: "Custom histogram application metric" |