@@ -13,32 +13,26 @@ server:
1313 command : " php app.php register:modules"
1414
1515logs :
16- # Logging mode can be "development", "production" or "raw".
17- # Do not forget to change this value for production environment.
1816 mode : ${RR_LOG_MODE:-production}
19- # Encoding format can be "console" or "json" (last is preferred for production usage).
2017 encoding : ${RR_LOG_ENCODING:-json}
21- # Logging level can be "panic", "error", "warn", "info", "debug".
2218 level : ${RR_LOG_LEVEL:-warn}
2319 channels :
2420 http :
25- # HTTP plugin logging level can be "panic", "error", "warn", "info", "debug".
2621 level : ${RR_LOG_HTTP_LEVEL:-warn}
2722 tcp :
28- # TCP plugin logging level can be "panic", "error", "warn", "info", "debug".
2923 level : ${RR_LOG_TCP_LEVEL:-warn}
3024 jobs :
31- # JOBS plugin logging level can be "panic", "error", "warn", "info", "debug".
3225 level : ${RR_LOG_JOBS_LEVEL:-warn}
3326 centrifuge :
34- # Centrifuge plugin logging level can be "panic", "error", "warn", "info", "debug".
3527 level : ${RR_LOG_CENTRIFUGE_LEVEL:-warn}
3628 server :
37- # Server logging level can be "panic", "error", "warn", "info", "debug".
3829 level : ${RR_LOG_SERVER_LEVEL:-warn}
3930 service :
40- # Service logging level can be "panic", "error", "warn", "info", "debug".
4131 level : ${RR_LOG_SERVICE_LEVEL:-warn}
32+ smtp :
33+ level : ${RR_LOG_SMTP_LEVEL:-warn}
34+ var-dumper :
35+ level : ${RR_LOG_VAR_DUMPER_LEVEL:-warn}
4236
4337http :
4438 address : 127.0.0.1:8082
@@ -57,20 +51,11 @@ http:
5751tcp :
5852 servers :
5953 monolog :
60- # Address to listen.
6154 addr : ${RR_TCP_MONOLOG_ADDR:-:9913}
6255 delimiter : " \n "
63- var-dumper :
64- # Address to listen.
65- addr : ${RR_TCP_VAR_DUMPER_ADDR:-:9912}
66- delimiter : " \n "
67- # Chunks that RR uses to read the data. In bytes.
68- # If you expect big payloads on a TCP server, to reduce `read` syscalls,
69- # would be a good practice to use a fairly big enough buffer.
70- # Default: 1024 * 1024 * 50 (50MB)
7156 read_buf_size : ${RR_TCP_READ_BUF_SIZE:-50485760}
7257 pool :
73- num_workers : ${RR_TCP_NUM_WORKERS:-2 }
58+ num_workers : ${RR_TCP_NUM_WORKERS:-1 }
7459
7560kv :
7661 local :
7964
8065jobs :
8166 consume :
82- - smtp
67+ - events
8368 pipelines :
84- smtp :
69+ events :
8570 driver : memory
8671 config :
8772 priority : 10
9378 addr : ${RR_SMTP_ADDR:-:1025}
9479 hostname : " buggregator.local"
9580 jobs :
96- pipeline : smtp
81+ pipeline : events
82+
83+ var-dumper :
84+ addr : ${RR_VAR_DUMPER_ADDR:-:9912}
85+ max_message_size : ${RR_TCP_READ_BUF_SIZE:-50485760}
86+ jobs :
87+ pipeline : events
9788
9889service :
9990 nginx :
0 commit comments