summaryrefslogtreecommitdiff
path: root/cmd/rr/.rr.yaml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 17:53:13 +0300
committerWolfy-J <[email protected]>2018-06-10 17:53:13 +0300
commit4fd4c7a1e8194287249fa59252afc2cd260d5643 (patch)
tree7f2f3872ff13ff063acca14d4294b4d299c3dea2 /cmd/rr/.rr.yaml
parent094a4c211022b9446ef988c74c546ad6efb09722 (diff)
rr is working now
Diffstat (limited to 'cmd/rr/.rr.yaml')
-rw-r--r--cmd/rr/.rr.yaml18
1 files changed, 8 insertions, 10 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml
index b7da7fac..34475da7 100644
--- a/cmd/rr/.rr.yaml
+++ b/cmd/rr/.rr.yaml
@@ -25,7 +25,7 @@ http:
# http worker pool configuration.
workers:
# php worker command.
- command: "php /Users/wolfy-j/Projects/phpapp/webroot/index.php rr pipes --no-ansi"
+ command: "php c:/GoProj/phpapp/webroot/index.php rr pipes --no-ansi"
# connection method (pipes, tcp://:9000, unix://socket.unix).
relay: "pipes"
@@ -33,26 +33,24 @@ http:
# worker pool configuration.
pool:
# number of workers to be serving.
- numWorkers: 1
+ numWorkers: 2
# maximum jobs per worker, 0 - unlimited.
maxJobs: 0
- # worker allocation timeouts.
- timeouts:
- # for how long worker is allowed to be bootstrapped.
- allocateTimeout: 6000000
+ # for how long worker is allowed to be bootstrapped.
+ allocateTimeout: 6000000
- # amount of time given to worker to gracefully destruct itself.
- destroyTimeout: 6000000
+ # amount of time given to worker to gracefully destruct itself.
+ destroyTimeout: 6000000
# static file serving.
static:
# serve http static files
enable: true
- # root directory for static file (http would not serve .php and .htacess files).
- dir: "/Users/wolfy-j/Projects/phpapp/webroot"
+ # root directory for static file (http would not serve .php and .htaccess files).
+ dir: "c:/GoProj/phpapp/webroot"
# list of extensions for forbid for serving.
forbid: [".php", ".htaccess"] \ No newline at end of file