summaryrefslogtreecommitdiff
path: root/cmd/rr/.rr.yaml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 20:31:05 +0300
committerWolfy-J <[email protected]>2018-06-10 20:31:05 +0300
commited3a0f2bb25077c7a32a54ddb3754f04ffbdccf3 (patch)
tree9a579e6ce81e7af5e3844fbcf590f9c8db26d90a /cmd/rr/.rr.yaml
parentade5cc504e2b082d0838cc93c3a185246fdc7834 (diff)
debug mode have been added
Diffstat (limited to 'cmd/rr/.rr.yaml')
-rw-r--r--cmd/rr/.rr.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml
index bf4c699b..9ee75856 100644
--- a/cmd/rr/.rr.yaml
+++ b/cmd/rr/.rr.yaml
@@ -33,7 +33,7 @@ http:
# worker pool configuration.
pool:
# number of workers to be serving.
- numWorkers: 16
+ numWorkers: 1
# maximum jobs per worker, 0 - unlimited.
maxJobs: 0
@@ -53,4 +53,12 @@ static:
dir: "c:/GoProj/phpapp/webroot"
# list of extensions for forbid for serving.
- forbid: [".php", ".htaccess"] \ No newline at end of file
+ forbid: [".php", ".htaccess"]
+
+# rr debugging
+debug:
+ # enable debug output
+ enable: true
+
+ # show individual worker events
+ verbose: true \ No newline at end of file